Scott Wilcox wrote:
> I know IE has issues with :hover on anything but "a" elements,
> but using the following snippet:
>
> a.info {
> position: relative;
> z-index: 20;
> text-decoration: none;
> }
> a.info:hover {
> z-index: 25;
> }
> a.info span{
> display: none;
> }
> a.info:hover span {
> display: block;
> position: absolute;
> top:2em; left:2em; width:18em;
> border: 1px solid #0cf;
> background-color: #cff; color:#000;
> text-align: left;
> padding: 3px;
> }
>
> I would assume that because its being used on an "a" element,
> it would of worked. The aim if to provide CSS'd 'tooltips' as
> such.
>
> Any ideas?
IE needs a trigger on the :hover to see the :hover span, and I'm
not sure if a change in z-index does it.
Does it work if you add a.info:hover{background-position:0 0;} ?
If not, could you provide an uploaded example of the problem?
--
Els
http://locusmeus.com/
http://locusoptimus.com/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/