On Jun 11, 2008, at 3:36 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED] 
 > wrote:

> Why didn't I think of that :) Thank you. However is there anyway I  
> could get the hyperlink to fill the entire
> LI element once it's been floated? I would like for my mouseover  
> effect to be applied when you are over the
> entire menu item and not only the text itself.About the fixed  
> height, you are right it would be better to apply a min-height then  
> I guess.

#menu ul li a {display:block;}

/* trigger 'hasLayout' for IE6, else it won't show the link as a full  
width block*/

As for the height, I'd only use the font-size+padding-top/bottom.

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