Put the ul inside a div. I think it will work


On Tue, Oct 20, 2009 at 9:05 AM, Shawn <shallway...@gmail.com> wrote:

>
> I'm using a navbar with superfish. I simply put my menu list inside a
> wrapper so the markup looks like this:
>
> <div class="navbar-wrapper>
> <ul class="sf-menu sf-navbar">
>
<div>

> <li>...</li>
> <li>...</li>
> <li>...</li>
> </ul>
>
</div>

> </div>
>
> now I want to make the navbar-wrapper 100% of width and the navbar to
> be centered in it, I thought it should be simple just do the following
> css trick
>
> div.navbar-wrapper{ width:100%; text-align:center; }
>
> However this didn't work, the supersish menu just didn't get
> centered.
>
> How can I fix this? Thanks.
>

Reply via email to