Go see there :

http://css-tricks.com/quick-css-trick-how-to-center-an-object-exactly-in-the-center/



On Oct 20, 4:35 am, Shawn <shallway...@gmail.com> wrote:
> I'm using anavbarwith 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">
> <li>...</li>
> <li>...</li>
> <li>...</li>
> </ul>
> </div>
>
> now I want to make thenavbar-wrapper 100% of width and thenavbarto
> 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