Forum Moderators: not2easy
HTML:
<p style="position:absolute;top:400px;left:200px;"><a id="testLink" href="#">Test
<span>This is the test.</span></a></p> CSS:
#testLink { color:#f00; }
#testLink span { display:none;}
#testLink:hover span { display:block;position:relative;top:0px;left:0px;background-color:#0f0;width:100%; } If you can see the problem, thanks in advance for your help!
See the following threads for work-arounds:
I think this is the same problem as reported on in this thread [webmasterworld.com]
it is a known IE issue and can be solved the same way, add a default rule for the :hover state of the link, then the :hover span should work..
e.g.
#testLink:hover {text-indent: 0;}
Seems like IE just doesn't recognise a "child" of :hover unless there is a specific :hover (parent) rule..
Suzy