Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Combining stylesheets (or not)

  • Subject: Re: Combining stylesheets (or not)
  • From: Jim Scott <mr.jimscott@Xvirgin.net>
  • Date: Fri, 29 Apr 2005 09:22:38 GMT
  • Newsgroups: alt.html
  • Organization: ntl Virgin ADSL News Service
  • References: <dhf7dowi49cr$.dlg@ID-104726.news.individual.net> <d4su45$30mv$1@godfrey.mcc.ac.uk>
  • Reply-to: mr.jimscott@Xvirgin.net
  • User-agent: 40tude_Dialog/
  • Xref: news.mcc.ac.uk alt.html:286646
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
> elements
> 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".
> Roy

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.

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index