Previous Message
Next Message

no background-color with your color warnings

Sent by Richard Allsebrook on 16 June 2006 11:11


> Actually, its the exact opposite.

Um, no its not. The validator doesn't take the cascade into account.

div.test {
	background: #FFF;
	color: #000;
}

div.test a {
	color: #C00;
}

will produce a warning on the div.test a {} rule even though the red 
hyperlink will only ever be displayed on a white background.

-- 
Richard Allsebrook
Futurate Ltd. (http://www.futurate.com)

---------------------------------------------------
June 2006: Futurate launch a major new website and content
management server for Travel South Yorkshire:

www.travelsouthyorkshire.co.uk.


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: 15/06/2006

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: