Everything You Need to Know About Baguio City and Cordillera
The Places, People, Culture, Businesses... and Stuff

  • Page:
  • 1

TOPIC: Number of Style Sheets

Number of Style Sheets 5 years, 10 months ago #3253

  • saijin
  • OFFLINE
  • Baguiophoriac
  • Posts: 1255
  • Karma: 0
Is it a good idea to have a main stylesheet for the basic format of the site and then have individual or stylesheets for groups of pages with particularities so that the main style sheet isn't too cluttered?

Or should i just have one stylesheet?

What do you typically do?

I think that one style sheet can get cluttered. With revisions, it is hard to tell what needs to be deleted and what should stay and how and where this rule applies--Is it on this page or some other page?

I'm also afraid that dozens of stylesheet may be hard to manage. I've never done this before so before i make a big mess, i want to know if there are any dangers to breakin this stuff out.

What do you guys do?

Take care and Thanks!

Re: Number of Style Sheets 5 years, 10 months ago #3281

  • ArchAugust
  • NOW ONLINE
  • Site Keeper
  • MAX EXP
  • Posts: 3159
  • Karma: 5
For me I use one style sheet for the front end and another for the back end (since the back end is always recycled from previous projects). I'm not sure why'd you'd choose to use different style sheets for different groups of pages for the front end unless they look a lot different from each other.

Several stylesheets can be hard to manage and could get confusing especially during development, and it also adds to the load time of each page since different pages would require a different external css file to load. At least for 1 css file the caching will be done only once which would mean faster load time for the succeeding pages since they wouldn't have to load another css file. In my opinion, the advantages of using 1 css file outweighs that of using several.

Hope that helps.
Baguiophoria!
  • Page:
  • 1

Members Panel

Sign in with Facebook

Recommend Us!

Pro Website Design and Development for only P6,000