You are here: Re: Easy CSS Question but I don't get it!! « HTML « IT news, forums, messages
Re: Easy CSS Question but I don't get it!!

Posted by Mark Parnell on 01/10/06 08:05

Deciding to do something for the good of humanity,
<marksisson@gmail.com> spouted in alt.html:

> Can someone shed some light on why the below displays in green in my
> browser? Doesn't the anchor's class override its parent div tag's
> class???
<snip>
> .navmain A { color: green; }
> .navselected { color: blue; }

http://www.w3.org/TR/CSS2/cascade.html#specificity

--
Mark Parnell
=====================================================
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация