|
|||||||
| CSS Discussion and technical support relating to Cascading Style Sheets. |
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Z-Index - Menu behind image in IE, no other browser
Hello, so I'm revamping a site and inherited some of the code. I've been working to update it and make all the pages validate and look the same in all browsers - and somehow in the process have messed up my index that once worked...
The main issue is that the navigation menu hides behind the flash div on the homepage in IE for windows. In my attempt to fix this I've now messed up the homepage...but the main gist is that I'm looking to have the navigation be on-top-of everything else on the page. I tried removing all z-indexes and that did not make it work -so then I've slowly put them back in...I've also worked with relative and absolute positioning. Thank you! http://tinyurl.com/yh74zrf Login and password: web |
|
#2
|
||||
|
||||
|
The trick is to correctly use wmode, z-indexing and a declared position.
Here is a link to a past post that covers the topic in detail: http://www.webdeveloper.com/forum/sh...d.php?t=223938 Download the examples in the zipped file and play with the files. and here's the example: http://www.cidigitalmedia.com/tutorials/flash_div.html Best wishes, Eye for Video www.cidigitalmedia.com |
|
#3
|
|||
|
|||
|
from experience, z-index doesn't work as you would expect in ie7 even if you have the correct z-index values.
if you want something on top, the fastest fix is to move it to the very end of the body! |
|
#4
|
||||
|
||||
|
Quote:
http://www.w3schools.com/Css/pr_pos_z-index.asp And even with a declared position that z-indexed element will react differently depending on whether or not it's parent element also has a declared position or not. From an old post: Quote:
http://www.worldbarefootcenter.com/index.html As for: Quote:
By "on-top-of" I'm pretty sure the post was talking about a stacking order, not it's vertical position on the page. Anyway, best wishes all! Eye for Video www.cidigitalmedia.com |
|
#5
|
|||
|
|||
|
I am still having problems. I am using swfobject to embed flash. Perhaps I'm putting the parameters wrong - syntax incorrect...
I am now getting the menu to appear as the top layer, but the flash is not appearing in IE on windows, but does seem to work on mac browsers. Help. |
|
#6
|
||||
|
||||
|
Can you post a link to the page?
EfV |
|
#7
|
|||
|
|||
|
IE 6 issue
http://tinyurl.com/yh74zrf
Login and password: web Apparently, I've made it work in IE 7 on Windows, Windows Firefox, and Mac Firefox and Safari, but it is still broken in IE 6 - I don't have access to check other IE browsers. What could I be missing? Thanks |
|
#8
|
|||
|
|||
|
I find it easier to use swfobject to dynamically embed flash elements rather than statically reassign a flash element to a swfobject element. Swfobject will then handle any weird differences with the browsers without having to accommodate it in the html.
|
|
#9
|
|||
|
|||
|
Quote:
Quote:
Quote:
Last edited by letmehaveago; 02-11-2010 at 09:45 PM. Reason: quote for code |
|
#10
|
||||
|
||||
|
Quote:
http://www.cidigitalmedia.com/tutorials/flash_div.html View the source code and you will see that the last <div> listed on the page, the one right before the </body> closing tag is the one that's on the very top of stacking list. That's possible because of z-indexing and declared positions. Best wishes, Eye for Video www.cidigitalmedia.com |
![]() |
| Bookmarks |
| Tags |
| zindex css |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|