Previous Message
Next Message

RE: [css-d] CSS signatures

Sent by Means, Eric D on 30 September 2002 19:07


-----Original Message-----
From: jeff kiesel [EMAIL-REMOVED]]
Sent: Monday, September 30, 2002 1:10 PM
To: [EMAIL-REMOVED]
Subject: RE: [css-d] CSS signatures

> this sounds very interesting, and i love when you guys
> push the envelope of css, but what is the benefit of
> including a signature?

It allows individual users to write custom user stylesheets for each site.

Modern browsers allow users to specify a stylesheet which will apply to all
web pages a user visits, and will override the author's stylesheet(s).
Users can use this to, for instance, make all font sizes larger, or to make
colors easier to distinguish (for instance a color blind user), etc.  The
problem is that there's no easy way to say, "I want the background of this
site to be black, and on this site I want the content div to have a large
font size, and..."  It's all or nothing.

However, if a site includes an id on its body tag, then the user can write
site-specific files.  For instance, 
body[id="thatonesite"] {
  background-color: black;
}

body[id="thatothersite"] div#content {
  font-size: large;
}

It allows the user to do more customization; it's just kind of "polite".
Previous Message
Next Message

Message thread:

Possibly related: