Previous Message
Next Message

Nav list: effecting container div height

Sent by Barney Carroll on 23 August 2007 10:10


RR,

Your <li>s and <a>s should be set to display:block (<li>s are block by 
default, so just remove the display line), and give the <li>s 
float:left. Then you want to give the containing div overflow:hidden so 
that it nows to swallow its contents instead of letting them spill out.


Regards,
Barney
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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: