SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard jag5311's Avatar
    Join Date
    Jan 2003
    Location
    Somewhere in Indiana
    Posts
    3,082
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS & tables (file size)??

    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)

    Hope I explained that well enough

    Thanks
    Bryan

  2. #2
    SitePoint Addict
    Join Date
    Sep 2003
    Location
    Europe
    Posts
    222
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •