Page 1 of 1

I am just a step before tableless css design

Posted: Tue Sep 23, 2008 6:35 am
by Sindarin
but I used a table in my current project. 8O

Reason is that the site is dynamic but the template is not the same.
The main site style is a centered header | content | footer, quite simple. It validates correctly too.

Now I use a GET php switch to retrieve the current 'page' value. In the 'home' page the content has 2 columns, in the 'contact' page one and in other pages the layout gets more complex. So I resorted to using seperate html files which I included with php. In those I used tables because they were less time consuming to do the same with css and testing all those files with attaching different style sheets and such. I know this might be bad practice but I currently need ideas on how to make css and dynamic content work together.

So what's your take on this?

Re: I am just a step before tableless css design

Posted: Tue Sep 23, 2008 6:45 am
by Maugrim_The_Reaper
Not sure I entirely understood what you were asking? A good columned CSS design should be expandable to multi-column layouts. Some people go for a grid layout where you include column widths in the css class names (think something like the Blueprint CSS framework - which I admit to using since I'm a crap designer anyways ;)).