hello,
i have been searching for almost a day to try to find a solution to this problem and have gotten nowhere. hoping someone out there can point me in the right direction.
i have an image (image a) which is a different size than the image (image b) that i want to appear when the mouse hovers. image b also needs to be placed in a slightly different location than image a.
all of this is contained within a div that is always centered on the page. by some miracle i have managed to make all this work. the problem is that i don't see the hover state in ie5 on the mac. don't have a pc in front of me to know if this is an ie problem or an ie on the mac problem. i do know there are some pseudo hover issues with ie, but i tried to change the css to accomodate and got nowhere.
the relevant css is below:
#pic {
left: 0px;
position: relative;
top: 0px;
height: 38px;
width: 58px;
}
#pic a .rollover {
border: 0px;
display: block;
height: 0px;
left: -1px;
position: absolute;
top: -1px;
width: 0px;
}
#pic a img {
border: 0px;
}
#pic a.p1, #pic a.p1:visited {
background: #e7f4f4;
border: 0px;
display: block;
left: 0;
text-decoration: none;
top: 0;
}
#pic a.p1:hover {
background-color: #e7f4f4;
border: 0px;
text-decoration: none;
}
#pic a.p1:hover .rollover {
display: block;
border: 0px;
height: 61px;
left: 1px;
position: absolute;
top: -43px;
width: 57px;
}
#content
{
font-family: verdana, arial, helvetica, sans-serif;
background-color: #ffffff;
text-align: left;
margin-top: -300px;
margin-left: -400px;
position: absolute;
top: 50%;
left: 50%;
width: 800px;
height: 600px;
visibility: visible
}
the relevant html is:
<div id="content">
<div class="bodytext">
<table border="0" width="800" cellpadding="0" cellspacing="0">
<tr valign="top">
<td colspan="5"><img src="imgz/1992_header.gif" alt="Making a start in the real world" width="800" height="111" hspace="0" vspace="0" border="0" align="top" /></td>
</tr>
<tr valign="top">
<td><img src="imgz/transparency.gif" height="452" width="21" border="0" hspace="0" vspace="0" /></td>
<td>copy here<br><img src="imgz/transparency.gif" height="6" width="367" border="0" hspace="0" vspace="0" /></td>
<td><img src="imgz/transparency.gif" height="452" width="24" border="0" hspace="0" vspace="0" /></td>
<td>more copy here<br /><img src="imgz/transparency.gif" height="6" width="367" border="0" hspace="0" vspace="0" /></td>
<td><img src="imgz/transparency.gif" height="452" width="21" border="0" hspace="0" vspace="0" /></td>
</tr>
<tr>
<td colspan="5"><div id="pic">
<a class="p1" href="url.html" title="menu1"><img src="image_a.gif" width="58" height="38" /><img src="image_b.gif" width="57" height="61" class="rollover" /></a>
</div>
any help would be greatly appreciated and would reduce the amount of hair that i seem to be losing over this.![]()



Reply With Quote


Bookmarks