From MySQL to cascading style sheet

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

It's all good - many great men have been bald... just look at Captain Picard :-)

The new layout does seem more maintainable.

As for DIV's, they do expand vertically to fit your content. Just leave out the height and they'll grow to the right size.

Good luck!
User avatar
chrisbu
Forum Newbie
Posts: 9
Joined: Sun Jan 07, 2007 7:12 pm
Location: Khon Kaen, Thailand

Post by chrisbu »

Ah Captain Picard .... a very famous baldie from my home town in the UK! Actually I am anything BUT bald ... I just try to keep my snowy locks tidy.

The page I gave the URL for is one of several with different layouts not the set of pages I am trying to automate.

Not to worry - today? Today is DSL-G604T day ... move incoming phone line ... install power socket .... install new phone cables ... LAN cable and play! Not a even a mini snippet of PHP for at least 24 hours.

Have a nice day yourself please

Chris
User avatar
chrisbu
Forum Newbie
Posts: 9
Joined: Sun Jan 07, 2007 7:12 pm
Location: Khon Kaen, Thailand

Post by chrisbu »

Hi everybody

Thanks for all the help - I now have a working site - with considerable less 'echo "blah blah blah"' than I started with.

I read through the posts a few time and now I have a template which is HTML with added <?php variables.

Easier and cleaner than echoing all the HTML - the comments from matthijs helped me a lot I think ... and of course without Volka's "wrong order" comment I would still be struggling.

Thanks guys!

Chris
Post Reply