But it’s not the only option. Don’t be too quick to fall back on jQuery/JavaScript if you have problems with your CSS. These two technologies serve different purposes. One of the CSS experts might have some good suggestions for you. I’m not an expert, but I have done sites like this simply by floating the two menus - one to the left and one to the right. Probably not the best way but it worked.
yea I tried that, but this is a wordpress site and as you would know, the code in wordpress theme is not like sites build the old school way. So, thats why I used the jQuery to move the logo in between and was hoping to re-position the menu elements accordingly.
Javascript is not going to help you there…you need to fix either
the structure that the menu is on
the css which is displaying the structure
or
both (which would be my guess…)
I mean, you’ve got an image which is 750px and trying to put it into a container that is 799px wide. Right there guarantees you’re going to have issues with text wrapping, so the placement is the least of your problems.
I’ve done that sort of navigation with a WordPress site - just split it into two different menus, one for the left and one for the right. But you would need to do a bit of coding to get that effect.
I’ve moved this to the HTML/CSS forum, as it has nothing to do with JavaScript now.
[quote=“Nauman_Tanwir, post:13, topic:218793”]
some heads up would be great help.
[/quote]What kind of “heads up” do you need? @WebMachine gave you the basic principal: