Le 20 sept. 2013 à 08:13, John <[email protected]> a écrit :

> why doesn't a:hover simply inherit display:block from nav ul li, its parent?

The 'display' property is never inherited!

http://www.w3.org/TR/CSS21/visuren.html#propdef-display
> Inherited:    no


You should set  'nav ul li a' to display:block; the hover state will also be 
block - and as a side benefit, you get a much bigger 'click' area.

Philippe
--
Philippe Wittenbergh
http://l-c-n.com




______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to