Forum Moderators: not2easy
Here's an example of th html:
<div id="fourth_line">
<p class="theatre"><a href="#">Millbrook<span>4th Line Theatre<br />Millbrook<br />Robert Winslow, Artistic Director<br />Click to find out more ››</span></a></p>
</div>
And the css:
p.theatre {
font: 9px verdana;
background-color: #FFF7E8;
border: 1px solid #000;
padding: 1px 2px;
letter-spacing: -1px;
}
p.theatre a span {
display: none;
}
p.theatre a:hover span {
display: block;
position: absolute;
top: 50px;
left: 50px;
width: 100px;
color: #000;
font: 10px verdana;
}
What should happen is that the text within the span tags appears only when the link is hovered over. As I said, it works in Mozilla but not in IE Win. Any suggestions?
[edited by: SuzyUK at 7:24 am (utc) on April 30, 2005]
[edit reason] examplified link [/edit]
IE has a a couple of small quirks using this technique, but nothing major..
in your case you simply need to give IE an a:hover rule, any default setting will do, it doesn't seem to recognise a:hover span if there is not a previous a:hover rule!
e.g.
p.theatre a:hover {text-indent: 0;}
Suzy
Anybody know what might cause this? Does this even make sense? I can always email someone a link if they want to see the page in action.
d
Thanks for everyone's input.
d