logo       

RE: CSS signatures: msg#01307

Subject: RE: CSS signatures
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" <eric.d.means@xxxxxxxxxx> wrote:
> -----Original Message-----
> From: jeff kiesel [mailto:jkies00@xxxxxxxxx]
> Sent: Monday, September 30, 2002 1:10 PM
> To: css-discuss@xxxxxxxxxxx
> 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 [css-discuss@xxxxxxxxxxx]
>
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
_______________________________________________
css-discuss [css-discuss@xxxxxxxxxxx]
http://three.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning



<Prev in Thread] Current Thread [Next in Thread>