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.
I want to be acquainted with how I can employ the similar direction-finding bar for the entire page. I by now did the css file by means of all the "lessons" that I'm with and it mechanism.
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.
Solved it...I was missing <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> at the top of the page....such a simple fix. lol.
Bookmarks