C and S Design.
Search Friendly Programming and Design



spreadsheet
The use of CSS for layout is often called "tableless" design. This is simply because HTML tables have been "traditionally" used for layout and positioning. This often leads to some very convoluted code with several nested tables needed.
This method of coding is quite simple to design initially especially when using "WYSIWYG" design tools. However when this layout needs even slight alterations and some cells become merged and others get split into two or more, the whole layout can become a mess of unreadable code and the only option is to start again.

Sometimes tables are exactly what is needed. If you want to create a spreadsheet look using calculated data, then a table is exactly what should be used. The programming would be far less involved and the code overhead difference between table code and nested <div> tags and <span> tags will be minimal, if not favouring the table code.
So this these pages are to demonstrate while it is sort of possible to recreate a table using CSS only, it's probably not really a good idea in all cases.




Valid HTML 4.01! Valid CSS! copyright © C and S Design 2004 - 2005
Website Design and SE Friendly Coding C and S Design