Thanks for taking the time to read this.

I'm just trying to style a list in order to create a menu, and for the life I can't see why it's not working.

Here's the HTML:

HTML Code:
<table cellpadding="0" cellspacing="0" class="moduletable">
<tr>
<td>
<ul id="mainlevelmain_menu"><li><a href="#" id="active_menumain_menu">Home</a></li>

<li><a href="#" >News</a></li>
</ul>			
</td>
</tr>
</table>
and the CSS:

PHP Code:
ul.mainlevelmain_menu{
text-aligncenter;
padding-bottom5px;
padding-top5px;
padding-left0;
margin-top0;
margin-left0;
background-color#426208;
colorwhite;
width100%;
font-familyVerdana,Arial,Helvetica,sans-serif;
line-height18px;
}

ul li.mainlevelmain_menu
{
displayinline;
padding-left0;
padding-right0;
padding-bottom5px;
padding-top5px;

Is the problem because the content is inside a table cell? Or am I doing something else wrong?

Any help would be really appreciated!