On Fri, 29 Apr 2005 10:18:00 +0100, Roy Schestowitz wrote:
> Jim Scott wrote:
>> I have recently converted my site to using stylesheets.
>> I use five. One is concerned with buttons and refers to most pages. The
>> others relate to table layout. The main one of these refers to every page
>> and the others, when I need a different size or border.
>> Is there any virtue in combining them in to one master stylesheet?
>> If the answer is yes, is it as easy as just putting all the bits together?
> Pros of separating:
> Fragmented -> Easier to change locally, without affecting many other
> Fragmented -> Can be difficult to manage
> Where only few sheets are used, bandwidth is lower
> Cons of separating:
> More files -> slower to download
> More files -> scattered code
> Alternative stylesheets might be hard to manage
> I suggest you carefully think /how/ stylesheets should be separated. It will
> be tedious to change in the future. I sometimes embed CSS in the HTML files
> to avoid the "change in one affects another".
I could possible reduce the external ss to two, and include the 'table
tweakers' in the html.
Jim on Tyneside UK
Remove X to email me.