Jump to content

php floating menu


dwahlrab

Recommended Posts

Hello,

I'm a very novice web designer. I have a site where I'm trying to have a php require menu load into the foreground above whatever page it might load below, or behind it. Please view this site:

http://www.djunawahlrab.com/06/home.php

here you can see that the menu is on the left side, but in some browsers (Firefox for example) the menu is falling Behind what should be in the background. if I click on or around where the menu is, I can get it to come forward, but that seems less than satisfactory, I'm sure you can imagine.

any ideas? maybe what I'm asking for would make things TOO easy, and its just impossible...

THANKS!

djuna

Link to comment
Share on other sites

Not too sure what you mean about 'behind' and 'foreground above', etc. but almost all of your problems are a result of the bad HTML code.  An html page can't have multiple head and body statements, nor can you have content after the closing html tag.

 

Your problem lies with the html, not anything to do with php.

 

If you think about include (or require) as the equivalent of server-side cut'n'paste, you'll see that you do not want to have html head/body/etc attributes in the included file.  Get it working properly as a plain html file including the menu, then it'll be obvious just what part of that needs to be moved to an included/required file.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.