Snookerman,
Thank you so much for replying. I have been trying different things and searching for discussions on this, but have gotten nowhere.
Also, I tried what you said, position relative and z-index, but it doesn't seem to make a difference.
To put below code in context, I have a bunch of navigation squares for which I would like to have a popup for each at hover, so user can know what he/she will find in that link. I cannot tell you how great it looks in FF and Chrome. It is soooo frustrating that IE hides it behind most other content (but not all).
I could attach a screen shots of both FF and IE views as attachments to an email.
Here, then, Snooker, are the two parts of my CSS which pertain ..
Code:
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
.thumbnail{
position: relative;
z-index: 0;
}
.thumbnail:hover{
background-color: transparent;
z-index: 50;
}
.thumbnail span{ /*CSS for enlarged image .. NOT SIZE */
position: absolute;
background-color: transparent;
padding: 5px;
left: -1000px;
/* border: 1px dashed gray; */
visibility: hidden;
color: black;
text-decoration: none;
}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 25px; /* enlarged image should offset vertically */
left: -120px; /* enlarged img should offset horizontally */
z-index: 60;
}
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 1px;
width: 200px; /* THIS IS THE SIZE CONTROL */
height: 350px;
}
ALSO THESE DIVs ..
Code:
#nav-squares a {
text-decoration: none;
font-weight: bold;
color: darkred;
display: block;
text-align: center;
line-height: 250%;
}
#nav-squares a:hover {
background-color: white;
color: darkred;
font-weight: 900;
text-decoration: underline;
border: lightcoral;
}
#nav-square-07 {
position: absolute;
width: 148px;
height: 38px;
background-color: #CCFFCC;
top: 45px;
left: 305px;
}
/* == == == == == == == */
AND HERE IS THE REFERENCE IN MY PHP/HTML ..
HTML Code:
<div id="nav-square-07">
<a class="thumbnail" href="#thumb">Contractors<span>
<img src="img/catgy1c.png" /><br /></span></a>
</div>
THANKS AGAIN !
Bookmarks