I have a couple questions regarding tables, css and file size.
I am all for separating content from visual presentation, but I often hear people say,
"you will cut down on file size by removing all the margin tags, font tags, blah,etc..."
But wouldn't putting all of that into a css file which the user has to download anyways add back to that file size you cut out?
Also, and this one doesn't deal with file size, but with the ultimate move going away from the use of tables for layout purposes, when you have to use one for tabular purposes, what would you need to do in terms of allowing someone with a palm pilot, cell phone, or another electronic device read a webpage that has tabular data in a table (if that just made sense)
The difference is that
- you don't need to repeat those font tags to get every header again in the style you want, you specify it once in the stylesheet
- the stylesheet applies to many pages, but is downloaded only once
- with tableless css layout you can loose those spacer gifs and so on
Bookmarks