is there any standard way to set up the flow of a style sheet? I
usually try and use just one style sheet and start with global
elements such as body, p, table, li etc. followed by elements as they
flow on a page from header to footer. I use one stylesheet even though
with a large site, this can
I tend to divide my style sheets into smaller files. For example, I
usually put only basic layout in one file, i.e. layout.css, the
general text formatting styles in another, and then the colors for the
entire site in a colors.css file.
On 5/28/05, Bruce Gilbert [EMAIL PROTECTED] wrote:
is there
I tend to clear all the browser defaulted styles at the top in one
large grouped rule.
I then set out all the divisions with their ID's, in the order they
appear in the xhtml eg:
div#top {
}
div#middle {
}
div#bottom {
}
Underneath this I would work though all the rules focusing within one
On Sat, 28 May 2005 17:10:14 +0100, Bruce Gilbert [EMAIL PROTECTED]
wrote:
is there any standard way to set up the flow of a style sheet? I
usually try and use just one style sheet and start with global
elements such as body, p, table, li etc. followed by elements as they
flow on a page from
Hi Dave,
Quick question. Is there a reason for naming your selector div#top instead
of #top?
Please advise...
Kind regards,
Mario S. Cisneros
I tend to clear all the browser defaulted styles at the top in one large
grouped rule.
I then set out all the divisions with their ID's, in the
I completely concur Kornel.
Also, I prefer to use one master.css file to control my entire site, and
create additional stylesheets that based on a pages specific requirements
(i.e. print-friendly, forms, etc.).
In addition, I use comments in my master.css file extensively and divide
my master
Hi Kornel,
Stylesheets compress wonderfully. Enable gzip transfer encoding for
them (but if you do it in PHP or alike, you'll have to send cache
headers and implement cache validators, otherwise clients will
re-download stylesheets).
How do you do that?
Kim
http://www.scriptygoddess.com/archives/2003/03/28/compressing-webpages-for-fun-and-profit/
On 5/28/05, Kim Kruse [EMAIL PROTECTED] wrote:
Hi Kornel,
Stylesheets compress wonderfully. Enable gzip transfer encoding for
them (but if you do it in PHP or alike, you'll have to send cache