|
Posted by Alan J. Flavell on 09/16/05 10:55
On Fri, 16 Sep 2005, Jonathan N. Little wrote:
> nickolas80@gmail.com wrote:
> > 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?
> >
> 1. Javascript
> 2. Put a link in it
> 3. Pin you hopes and dreams on that IE7 will support it ;-)
Speaking to your point (2): is there, in fact, a way to get the properties
of a "DIV or TD" to change by "putting a link in it"? Some properties are
only applicable to a block-level element, which the "a" element is not.
Presumably if you want those properties to be changed by hover in IE,
using your method (2), you'd have to transfer the properties in question
to the "a" element *and* change the "a" to "display: block". Any chance
of a practical demonstration of that in action, please?
But there /is/ a fourth option:
4. Conclude that CSS is designed to be optional, and IE simply chooses not
to take this particular option. "Working as designed".
[Back to original message]
|