Reply to Re: can't get css hover to work on link borders

Your name:

Reply:


Posted by Els on 06/28/05 14:09

Lauri Raittila wrote:

> in alt.html, Els wrote:
>> Lauri Raittila wrote:
>>
>>> in alt.html, Greg N. wrote:
>>>> Lauri Raittila wrote:
>>>>
>>>>> a:hover img {}
>>>
>>> As noted, don't work in IE, even if I thought it would.
>>
>> But it /does/ work in IE.
>
> That was my memory as well...
>
>> I know there are some circumstances in which
>> it may not work (I think we discussed this before some time), but in
>> most cases it certainly does work in IE. Check the site in my sig and
>> hover over thumbnails. You'll see the border change color, which is
>> done by the a:hover img{} rule.
>
> I made testcase, and it didn't work. So it seems you might need to do
> some tricks to make it works, and you may just well do them
> accidentally..

The trick I remember, is that you have to set the styles (colors
only?) for the regular links too, earlier in the CSS file. Without
that, it doesn't work on images in IE. (this is from memory though -
about a year and a half back when I discovered why it worked/didn't
work)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

[Back to original 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

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