|
Posted by Nick Theodorakis on 09/17/05 21:46
On Fri, 16 Sep 2005 13:37:35 +1000, Mark Parnell
<webmaster@clarkecomputers.com.au> wrote:
>In our last episode, <nickolas80@gmail.com> pronounced to alt.html:
>
>> Since IE apparently only supports Hover on A: (links), is there any
>> way, using CSS to get a background color changing effect on a DIV or TD?
>
>Only if you have an anchor in that <div> or <td> that fills the whole
>thing. :-)
>
Furthermore (at least for IE6) the anchor must contain a link for IE
to display the properties of the :hover psuedoclass. An empty anchor,
or even a named anchor, won't do it.
But speaking to the larger question; even if most popular browsers (or
browser-like OS elements) will display the properties of the :hover
pseudoclass on any element, would it be wise to apply them? It seems
to me that users are becoming accustomed to associating the :hover
properties with hyperlinks. Just as it would be valid, but unwise, to
make ordinary text appear blue and underlined (even if the author
might have good reason for doing so) I suggest it would also be
unwise to apply :hover properties to anything except links.
Nick
--
Nick Theodorakis
nick_theodorakis@hotmail.com
contact form:
http://theodorakis.net/contact.html
Navigation:
[Reply to this message]
|