You are here: Re: Anchor outside div not validating « HTML « IT news, forums, messages
Re: Anchor outside div not validating

Posted by Sean on 01/08/08 23:00

On Tue, 08 Jan 2008 16:38:16 -0600, Ben C wrote:

> Something like this:
>
> <div id="container">
> <h1><a href="foo">Heading</a></h1>
> <div><a href="foo">Text</a></div>
> </div>
>
> #container:hover { background-color: yellow; color: magenta }
>
> The problem here though is that bits of the whole ensemble that you
> can't actually click on will still light up under hover.
>
> And I think someone said :hover doesn't work in IE anyway.

The above wouldn't work in IE6 or prior, as it only supports hover on a
elements (a:hover).



--
Website: http://www.vaxius.net
blog: http://blog.vaxius.net

 

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

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