dwahlrab Posted February 23, 2007 Share Posted February 23, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/39821-php-floating-menu/ Share on other sites More sharing options...
AndyB Posted February 24, 2007 Share Posted February 24, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/39821-php-floating-menu/#findComment-192961 Share on other sites More sharing options...
worldworld Posted February 26, 2007 Share Posted February 26, 2007 I did see it in FF and IE no problems in display? Please explain if there are any.. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/39821-php-floating-menu/#findComment-194085 Share on other sites More sharing options...
worldworld Posted February 26, 2007 Share Posted February 26, 2007 Ya i just see the problem... Can u paste the code here? Quote Link to comment https://forums.phpfreaks.com/topic/39821-php-floating-menu/#findComment-194086 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.