Posted by David Dorward on 09/25/06 15:08
freesoft_2000 wrote:
> Say I have a css class
There is no such thing. HTML has classes, CSS doesn't.
> .foo {
> background-color: blue;
> width: 500px;
> }
That is a ruleset with a class selector, not a class.
> and I have another class:
Ditto
> I want 'foo' to inherit the properties of 'central'.
You can't, but see http://dorward.me.uk/www/css/inheritance/
Navigation:
[Reply to this message]
|