Previous Message
Next Message

Re: [css-d] Rookie question about combining classes IDs and such.

Sent by Joe Howley on 21 June 2002 15:03


> > I have a Web site section that has styles that have to change
> > according to the topic being discussed on the page. (Colors change
> > according to topic. )
> 
> This is one way.  I would suggest that it might be easier to add
> the class .accuracy to the body tag, and then in the stylesheet use
> something like this:

Alternatively, have the universal stylesheet set to some default color
scheme for the Hn's, like grayscale, and then for each topic
link/@import/include a different stylesheet with the appropriate colors.

Downside: another connection to the server to download the additional
sheet.  Upside: save space in the "default" stylesheet.

Luck,
===
joe howley
http://joe.sameperson.net/
Previous Message
Next Message

Possibly related: