Lennart,

Using display:inline will cancel out the width of the element and make it as wide
as the text inside of it,

what i tend to do when creating horizontal menu's is

#menu-UL { margin : 0px ; padding : 0px ; }
#menu-UL li { margin : 0px ; padding : 0px ; float : left ; }
#menu-UL li a { width : 100px ; background : #99cc00 ; padding : 5px ; }

Hope that help's fella

Mark Harwood
--------------------------------------------------
phunky.co.uk / zinkmedia.co.uk / xhtmlandcss.co.uk




******************************************************
The discussion list for  http://webstandardsgroup.org/

Proud presenters of Web Essentials 04 http://we04.com/
 Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to