justinbriggs1 Posted July 2, 2010 Share Posted July 2, 2010 Hey everyone, I seem to be having an issue with the z-index on a drop-down box on my site. Here is the address so you can see it:http://205.186.136.77/The dropdown in question is the small cart icon underneath the Home button. When it is clicked, the other two elements that I set a z-index for display over the content of the drop down box. Setting a z-index for the drop down box seems to have no effect.Any help would be appreciated,JW Link to comment Share on other sites More sharing options...
knystrom18 Posted July 3, 2010 Share Posted July 3, 2010 Works fine for me.Fx 3.6.6 on Win XP SP 3 Link to comment Share on other sites More sharing options...
justinbriggs1 Posted July 3, 2010 Author Share Posted July 3, 2010 Works fine for me.Fx 3.6.6 on Win XP SP 3Yeah, I just fixed it myself. Real weird how z-indexes work; I didn't change the order value of the attributes, I only reduced the values. i.e. I had them defined as:.element 1 {z-index:1000}.element 2 {z-index:2000}.element 3 {z-index:3000}And it didn't work, but if I switched it out:.element 1 {z-index:1}.element 2 {z-index:2}.element 3 {z-index:3}Seems to work fine. I didn't think it should matter, but apparently it does. Link to comment Share on other sites More sharing options...
knystrom18 Posted July 6, 2010 Share Posted July 6, 2010 Yea, I've never seen a z-index over 8 I think. Much less in the thousands... Glad it's working for you though now. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.