Click to See Complete Forum and Search --> : RE: Style sheets(How many)


rluka
05-03-2006, 06:29 PM
Im just learning CSS so Im going to start all over again.
My question is this: I already have two pages Im going to create these two pages using a separate style sheet in CSS.
Since both pages will have different content and the same page design, should I create one style sheet for both pages(Design) and a separate stylesheet for each individual page(Content)? Or, do I just put everything on one stylsheet? Or, is there another and better way that I dont know about?
Thanks for your help...Ron L

Kevey
05-03-2006, 06:41 PM
My personal opinion is to put everything on one sheet. It gets cached after the initial download, and probably isn't much a drain on bandwidth anyway. How big would your stylesheet be if you combined everything? I think mine is rather large, and it only comes in at just under 8K.

ray326
05-03-2006, 11:40 PM
HTML = content
CSS/Stylesheet = how it looks
DOM/Javascript = how it behaves

One stylesheet should do the job for a site.

The Little Guy
05-03-2006, 11:51 PM
One style sheet, unless you want the user to be able to choose the look of the site, then you need to make multiple style sheets.

rluka
05-04-2006, 12:46 AM
One style sheet it is.....Thanks all for responding