I'm have a tough time trying to get my Menu to be centered using the CSS Friendly Adapters and a menu set to Horizontal Orientation. Below is the CSS I'm using for my navigation menu.
#nav
{
background: #008080;
width:100%;
height:45px;
}
Here is my <div> that encapsulates the Menu Control.
<div id="nav"">
<asp:Menu ID="NavigationMenu" runat="server" Orientation="Horizontal"
CssSelectorClass="CssAdapterMenu" DataSourceID="NavSiteMapDataSource"
style="margin: auto; text-align: center">
</asp:Menu>
</div>
I've tried numerious combinations of margins and padding, but the menu always aligns around 100 or so pixels from the left no matter what I try it never moves.
Does anyone have any suggestions on how I can get it to align centered?
My Blog
http://Lspence.blogspot.com
(Please MARK this post as ANSWERED, if you find it helpful)