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
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
Hello,
This is a CSS issue, not really related to Superfish or jQuery.
The solution depends on your code, and also on the browsers you want
to support (IE 6 and 7 will limit what you can do).
If your UL has a fixed width, you can center it horizontally in its
container using automatic margins.
If you have markup as indicated below, then you have invalid markup,
which will cause problems.
A UL element can't contain a div - it has to contain li's, which in turn
can contain a div. I would expect that structure to fail.
Removing the div immediately after the UL, will clean things
4 matches
Mail list logo