On Sat, 18 Jun 2005 23:44:40 +0200, David Laakso <[EMAIL PROTECTED]> wrote:

This p element in hover state thing <http://www.dlaakso.com/sandbox/p-hover.html> is 'close, but no cigar' in compliant browsers, and not working at all in IE.
css:
p a, p:link, p:hover, a, a:link, a:hover { background-color: #9ACD32/*green*/; color: #000; text-decoration: none; }
p:hover, a:hover { background-color: Red; color: #FFF; }
Suggestions appreciated.

What you want to archieve? I can't think anything else than that you would want to have
p:hover {background:red}
imitation using link to make it work on IE (for which use a {display:block})

Lauri
(new on this list, not new to CSS)

--
Lauri Raittila <http://www.iki.fi/lr>
@Utrecht, NL
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to