Posted by David Dorward on 03/18/06 18:39
Bill_W_Stephens@yahoo.com wrote:
> Is there a way to simplify similar CSS class definitions. Here
> td.data_Dark and td.data_Light share common atributes that are
> different from td. See below.
>
> Is there a way to say td.data_Light is like td.data_Dark, except for
> background-color.
>
> Also is there a way to define a color code as a variable (eg:
> myBannerColor = "C8D7E3"), so when the client wants to change the
> colour scheme, I only have to make one CSS change instead of dozens.
http://dorward.me.uk/www/css/inheritance/
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
[Back to original message]
|