tyros8000
20 May 2006, 03:17 AM
Hey
I got a css menu:
#menu {
width:100%;
background-color:#C80000;
margin-bottom:3px;
}
ul#nav {
margin-left:0px;
padding-left:0px;
padding-top:0px;
margin-top:0px;
list-style-type:none;
background-color:#C80000;
float:left;
width:100%;
}
ul#nav li {
display:inline;
}
ul#nav a {
display:block;
float:left;
padding:6px 21px;
text-decoration:none;
color:#ffffff;
background-color:#C80000;
}
ul#nav a:hover {
color:#ffffff;
background-color:#960000;
}
At the moment there is a gap at the end where there are not buttons. is there any way to equally spread the buttons over the alocated width so it fills all the menu bar up?
thx
Dave.
I got a css menu:
#menu {
width:100%;
background-color:#C80000;
margin-bottom:3px;
}
ul#nav {
margin-left:0px;
padding-left:0px;
padding-top:0px;
margin-top:0px;
list-style-type:none;
background-color:#C80000;
float:left;
width:100%;
}
ul#nav li {
display:inline;
}
ul#nav a {
display:block;
float:left;
padding:6px 21px;
text-decoration:none;
color:#ffffff;
background-color:#C80000;
}
ul#nav a:hover {
color:#ffffff;
background-color:#960000;
}
At the moment there is a gap at the end where there are not buttons. is there any way to equally spread the buttons over the alocated width so it fills all the menu bar up?
thx
Dave.