Hi just a quick note to see if anybody knows the answer to this little question.
Is it a good or bad idea to have more than 1 stylesheet if the design needs it?
What I mean is. I am working on a project at the moment with the style sheet reaching 600 lines. I have a scrolling slidesshow, news, upcoming events to name a few. What I have noticed as I am going on with the template design is that the page takes longer to load, would splitting the css help. My template page is less that 100 lines around 90 so i don't think it is that and i have optimized the few graphics the page uses.
Any Ideas or opinions?
[solved]splitting css. Good or Bad Idea?
[solved]splitting css. Good or Bad Idea?
Last edited by mjrumble on Sun Oct 25, 2009 9:47 pm, edited 1 time in total.
Re: splitting css. Good or Bas Idea?
Personally I have split stylesheets all the time, to have it clearer which one to modify, and reuse them for second/third templates. So News gets his own stylesheet and when the other template uses News as well, that that stylesheet is attached..
Ronny
Ronny
Re: splitting css. Good or Bas Idea?
I have noticed that several templates spit the css code and it does make it lot of sense when you say it like that. It just lets you drop a style sheet for a menu into a news design faster. Thanks for that. Still learing and getting things.
Re: [solved]splitting css. Good or Bad Idea?
Most slow page loads have to do with images that haven't been optimized for the web, there are a lot of optimizers out there and quite a few are free...



