SitePoint Sponsor

User Tag List

Page 3 of 3 FirstFirst 123
Results 51 to 58 of 58
  1. #51
    SitePoint Member loganathan's Avatar
    Join Date
    Nov 2005
    Location
    Vellore-Chennai-TN
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi.. it is better to have multiple stylesheets..so that page will load faster.. easy to load styles
    ---
    Loganathan N, BOSCO ITS, Yellagi Hills, Chennai, India
    http://www.boscoits.com

  2. #52
    SitePoint Member
    Join Date
    May 2006
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by jacobpressures
    Is it a good idea to have a main stylesheet for the basic format of the site adn then have individual or stylesheets for groups of pages with particularities so that the main style sheet isn't too cluttered?
    Dude stick with one Stylesheet... I have never heard of a site with multiple stylesheets.

    Jason Mazur
    Stylus Studio XML Editor

  3. #53
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,653
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    ^^^^^What about this one? Or just about every other non-trivial content site I can think of . . .

  4. #54
    SitePoint Enthusiast mherring's Avatar
    Join Date
    Feb 2004
    Location
    Cedar Rapids, IA
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I work on some very large healthcare sites with multiple templates, so I've got directories under my css directory:

    /css/
    default.css
    (client_name).css (majority of styles go here)
    print.css

    /css/page_types/
    home.css
    popup.css
    etc.

    /css/modules/
    find_a_doctor.css
    find_a_location.css
    etc.

    /css/hacks/ (using conditional comments to import)
    lte_ie7.css
    lte_ie6.css
    lt_ie6.css
    ie5_mac.css

    /css/text_sizes/
    normal.css
    large.css
    x-large.css

    Each page/section/module/etc gets only the appropriate CSS, with all pages getting the contents of the root /css/ directory. I'm still fine-tuning this structure, but it's worked well for me so far.

  5. #55
    SitePoint Member
    Join Date
    Jul 2005
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use one or a couple, depending on site complexity. I design using CSS, so I start with one called layout.css that gets the positioning all squared away, some universal font and link information, etc. If it's a small site I just keep adding to that, but if it is huge I might add a page for subsections - like if the header or a column has a complex set of menus with lots of hover states, I'll use a separate style sheet for that, or if a page is out of the general design, I'll use a separate sheet for that. I do find, thought, that I'm coding and constructing my sites these days a lot more elegantly, and my style sheets are getting less in number and smaller in size.

  6. #56
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Jacob Pressures says that he 'is still using Notepad for a Text Editor'. Can I recommend Note Tab Pro. There is also a free version. I use both of these versions so I can work on more than one website at a time without confusing them!

    P.S. My site uses 7 Style sheets for about 310 pages.

    Michael Rawley,
    www.normist.co.uk

  7. #57
    SitePoint Member LoneStarGeek's Avatar
    Join Date
    Nov 2005
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up Multiple is the way to go!

    I used to only use one or two, but I've sinced started to "branch out". I found an article somewhere (sorry couldn't track it down) about CSS form layouts and making them portable across projects. That's really worked and it got me to thinking about using a number of different ones for "specialized" areas that may occurr only on one page or two within the layout.

  8. #58
    SitePoint Wizard mcsolas's Avatar
    Join Date
    Jul 2004
    Location
    Hermosa Costa Rica
    Posts
    1,707
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah Im up to 4 on my biggest project. 1 is to load just a list of classes into a text editor that are only applied to text. That was a nice touch .. the rte.css file.


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
  •