Sent by jeff kiesel on 30 September 2002 19:07
ahh,
so i can have a whole stylesheet of body declarations
followed by the bracket id stuff, and the body styles
will only work on the matching id?
body[id="thatothersite"] div#content {
font-size: large;
}
and that is the correct syntax? or am i
misunderstanding...
--- "Means, Eric D" [EMAIL-REMOVED]> wrote:
> -----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".
> _______________________________________________
> css-discuss [EMAIL-REMOVED]]
>
http://three.pairlist.net/mailman/listinfo/css-discuss
> Sponsored by www.westciv.com - CSS resources |
> software | learning
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com