SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS and file sizes - 27KB down to 7KB

    For anyone still questioning the benefits of CSS layouts, I've just finished my first attempt at a CSS redesign of this page: http://www.lums.lancs.ac.uk/pages/Executive/

    Here's what I've got so far: http://development.incutio.com/lums/

    The HTML file size is down from 27KB to just 7KB, while visually the pages look pretty similar. The new version also looks nicer in lynx and should work a lot better in a screen reader. The only down side is that I've had to hide the styles from NS4 (it gets the document but looks pretty boring) - but siwht NS4 having recently celebrated it's fifth birthday I'm not really that bothered.

  2. #2
    SitePoint Addict psychedelic's Avatar
    Join Date
    Feb 2002
    Location
    Boston
    Posts
    284
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but how large is your styles.css file? 7kb just the html file is a big improvement, but i'd like to see how large the css file is.
    The Internet is prettier on a Mac.

  3. #3
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by psychedelic
    but how large is your styles.css file? 7kb just the html file is a big improvement, but i'd like to see how large the css file is.
    Dont forget the CSS file will be site wide though, if you have more than 3 html files it pays for itself even if there is a increase in the size of the CSS file.

    Glen

  4. #4
    Former Staff Member silver trophy Adam P.'s Avatar
    Join Date
    Apr 2001
    Location
    San Francisco
    Posts
    3,288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice job skunk! I'll be taking a look at how you accomplished that. In some ways, yours is even better.
    SPF Mentor/Advisor 2001-2003
    SPF Designer of the Year 2002
    SPF Graphic Designer of the Year 2003
    AdamPolselli.com

  5. #5
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by psychedelic
    but how large is your styles.css file? 7kb just the html file is a big improvement, but i'd like to see how large the css file is.
    The CSS file weighs in at 3.5KB , brining the total page (minus images) up to a paltry 10 KB

  6. #6
    SitePoint Member
    Join Date
    Jun 2002
    Location
    Baltimore, MD
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice, I think it is more appealing to the eye also. (running IE 6.0 on W2k)

  7. #7
    SitePoint Evangelist
    Join Date
    Oct 2001
    Posts
    439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yep nice....its always a good felling to get rid of tables and making a site nice and fast...


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
  •