khunjack
09-11-2004, 09:18 AM
Dear All,
I have the following issue with the CSS solution (2).
Everytime I move the cursour over the pic it flashes
1.) If I display a picture/link like this .. it doesn't flash:
<a href="www.aaa.com"><img src="pic.gif" alt="" border="0" style="float: left; width: 250px; height: 163px; margin: 0 1.5% 0;" /></a>
works fine!
2.)Now doing it via CSS:
<a href="www.aaa.com" id="mainpic"><span>Test</span></a>
#mainpic {
float: left;
width: 250px;
height: 163px;
margin: 0 1.5% 0;
text-decoration:none;
background:url('pic.gif') no-repeat;
border:medium none;
display:block;
}
#mainpic span {
visibility:hidden;
}
Would be very nice if somebody could tell me what I'm doing wrong.
Thanks a lot in advance
Jack
I have the following issue with the CSS solution (2).
Everytime I move the cursour over the pic it flashes
1.) If I display a picture/link like this .. it doesn't flash:
<a href="www.aaa.com"><img src="pic.gif" alt="" border="0" style="float: left; width: 250px; height: 163px; margin: 0 1.5% 0;" /></a>
works fine!
2.)Now doing it via CSS:
<a href="www.aaa.com" id="mainpic"><span>Test</span></a>
#mainpic {
float: left;
width: 250px;
height: 163px;
margin: 0 1.5% 0;
text-decoration:none;
background:url('pic.gif') no-repeat;
border:medium none;
display:block;
}
#mainpic span {
visibility:hidden;
}
Would be very nice if somebody could tell me what I'm doing wrong.
Thanks a lot in advance
Jack