Re: CSS question - inheriting other classes (I think)



Andy Dingley wrote:
On 9 June, 13:40, "Jukka K. Korpela" <jkorp...@xxxxxxxxx> wrote:

B { color: green; background: white; }
means exactly the same as
B { color: green; }
B { background: white; }

Exactly. How many developers know that? How many realise that it even
matters? I'm using it as a recruitment test question, haven't seen a
right answer yet.

or

B { color: green; background: white none repeat scroll 0% 0%; }

:-)

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
.