tilmes
asked on
Change width of css menus
In www.berlinkauf.com are main menus like Products, Trade Community, Directory... How can i fit the width to whole header area? Left side from the menu Products, you see 2 or 3cm white space. I want to stretch menus towards left side. I tryed with changeing values of width:655px; but it never worked. Can anyone fix this?
ul#nav {
list-style:none;
width:655px;
text-align:center;
clear:left;
float:left;
font-size: 14px;
line-height:2em;
padding:1px 0 0 0;
}
* html ul#nav{padding:0}
ul#nav li{
display:inline;
border-bottom:0px solid #7EBE5F;
margin-right:0px;
}
ul#nav li a{
padding:4px 5px 4px 5px;
position:relative;
border:1px solid #bbb;
text-decoration:none;
color:#0A3300;
font-weight:bold;
white-space:nowrap;
border-bottom:2px solid #7EBE5F;
background:#fff url(layout_images/button_h menu.gif) repeat-x left top;
letter-spacing:-0.01em;
}
ul#nav {
list-style:none;
width:655px;
text-align:center;
clear:left;
float:left;
font-size: 14px;
line-height:2em;
padding:1px 0 0 0;
}
* html ul#nav{padding:0}
ul#nav li{
display:inline;
border-bottom:0px solid #7EBE5F;
margin-right:0px;
}
ul#nav li a{
padding:4px 5px 4px 5px;
position:relative;
border:1px solid #bbb;
text-decoration:none;
color:#0A3300;
font-weight:bold;
white-space:nowrap;
border-bottom:2px solid #7EBE5F;
background:#fff url(layout_images/button_h
letter-spacing:-0.01em;
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
change text-align:center to text-align:left in ul#nav {}
ASKER