Question : CSS menu needs padding

Hi, On this site:

http:// code diva sites dot com slash code2

I'm trying out a CSS menu, but I can't get it to center above the table. Help. Thanks.

Answer : CSS menu needs padding

Set margin left/right to auto to center and element
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
ul#menu {
background:url("images/menu-bg.gif") repeat-x scroll left top #FFFFFF;
font-family:"Lucida Grande",Verdana,sans-serif;
font-size:0.8em;
font-weight:bold;
height:43px;
list-style-type:none;
margin-bottom:0;
margin-left:auto;
margin-right:auto;
padding:0;
width:960px;
}
Random Solutions  
 
programming4us programming4us