You are here: Re: Hover Question « HTML « IT news, forums, messages
Re: Hover Question

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".

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация