I am just a step before tableless css design
Posted: Tue Sep 23, 2008 6:35 am
but I used a table in my current project.
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?
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?