Jump to content

z-index on a dropdown box


justinbriggs1

Recommended Posts

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

Works fine for me.Fx 3.6.6 on Win XP SP 3
Yeah, 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...