SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2004
    Location
    MI
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A quick CSS question

    Is it typically better to have one style sheet that all of the pages on a site reference, making it very large; or is it better to have an individual style sheet for each page, even though you may be negating the purpose of using classes?

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,426
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    For what you've described you are better off having one style sheet. That way the browser can cache it and it will speed up the loading of your pages. But, there are times when you'll want to have a special style sheet for a page or two that is separate from the main one. In that case, that page may either have it's own style sheet or it can have two stylesheets if the second one will compliment the first.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jun 2004
    Location
    MI
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Excellent, thanks


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
  •