Menu
Hey people
Ive created a list menu floating the list items to the left and i can’t get them to centre. I have tried text-align center on the containing div but to no avail.
this is the page:
[url]http://www.ls12style.co.uk/projects/PHLG/
i want the navigation to be centered.
This is the css:
[CODE]#navigation ul {
padding:0;
margin:0 auto;
list-style-type:none;
}
#navigation ul li{
float:left;
width:100px;
text-align:center;
}
#navigation ul li a{
display:block;
text-decoration:none;
color:#009900;
}
#navigation ul li a:hover{
background-color:#00CC00;
color:#FFFFFF;
}
Thanks
TehAshMan