If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

[RESOLVED] Navigation Menu on all pages

Hi,

I'm not sure if I'm posting this in the correct place but I'm trying to put a horizontal navigation menu in my header div so I can include it on all my pages, so all I have to do is update the menu.html page and all the menus will be updated. I'm not sure what the best way of doing this is.

I've tried using PHP's include and Jqueries include but it isn't displaying my menu properly. It is off center and the lighter lines above and below the menu item is displaying funny. It's not a nice thin line...it's really thick and square.

iFrames are NOT the way to go. The PHP include is my recommended choice. The image isn't being split, the footer is being displayed on top of it. To fix this, simply add the following CSS to your #footer.

Code:

#footer {clear: both;}

I'm always up for networking with fellow web professionals. Connect with me on LinkedIn if you like!

Ok, so I have it aligned center like I want. I just can't get the layer with the silver bar on the top and bottom that slides across the menu items to display properly in IE. In IE, it displays like a square box on the top and bottom when it should appear like a thin glow-like effect. It displays properly in the menu2.html page, but goes all strange when I use php's include('menu2.html'). It displays as it should in firefox in both cases. I'm thinking there is something with the layers....but I'm not sure.