Sent by Craig Saila on 1 November 2002 00:12
cheeaun01 wrote:
> I'm wondering why
> a:hover:after cannot work in Mozilla?
> What I want to do is this:
>
> a[title]:hover:after{
> content:attr(title);
> position:fixed;
> bottom:0;
> left:0;
> right:0;
> }
Just stumbled across this myself today. What you need to to do is first
define a[title]:after's "content", then do the hover.
a[title]:after { content ""; }
a[title]:hover:after { content: " ["attr(title)"] "; }
Position will likely not work, though.
Full demo here:
<http://www.saila.com/attic/sandbox/css-text_rollovers.html>
--
Cheers,
Craig Saila
------------------------------------------
[EMAIL-REMOVED] : http://www.saila.com/
------------------------------------------
__________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.meyerweb.com/eric/css/discuss/info.html
Sponsored by www.westciv.com - CSS resources | software | learning