rekha Posted September 8, 2008 Share Posted September 8, 2008 Hi, I have a page.I used css style z-index:1 for the image to display.I am having select box in the page.Here is the sample code. <html> <head> <style type="text/css"> img.x { position:absolute; left:0px; top:0px; z-index:5} img.y{ position:absolute; left:0px; top:0px; z-index:1} </style> </head> <body> <h1>This is a Heading</h1> <select><option value=0>1</option></select><img class="x" src="bulbon.gif" width="100" height="180"> <p>Default z-index is 0. Z-index 1 has higher priority.</p> <br><br><img class="y" src="default80.jpg" width="100" height="180"> </body> </html> This page works fine in firefox.But in IE 6 it is not working properly.Can anyone help me pls..... Regards Rekha http://hiox.org Link to comment https://forums.phpfreaks.com/topic/123206-css-popup-image-problem/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.