RichardR
07-12-2008, 12:34 PM
Greetings.
The folowing CSS code behaves well in Firefox, but the Select boxes in the tables adjacent cells show through the image in IE 5 and 6. Funnily enough Check boxes do not show through??
<style type="text/css">
.thumbnail{
position: relative;
z-index: 0;
}
.thumbnail:hover{
background-color: transparent;
z-index: 50;
}
.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 5;
left: 0px; /*position where enlarged image should offset horizontally */
}
</style>
Any pointers to correct this behaviour please?
The folowing CSS code behaves well in Firefox, but the Select boxes in the tables adjacent cells show through the image in IE 5 and 6. Funnily enough Check boxes do not show through??
<style type="text/css">
.thumbnail{
position: relative;
z-index: 0;
}
.thumbnail:hover{
background-color: transparent;
z-index: 50;
}
.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 5;
left: 0px; /*position where enlarged image should offset horizontally */
}
</style>
Any pointers to correct this behaviour please?