Reply to Re: css selectors

Your name:

Reply:


Posted by Bernhard Sturm on 04/18/07 09:57

Toby A Inkster wrote:
>
> ul li:hover
> {
> /* Styles go here.
> * However, there is no way of knowing whether the <a> element
> * is also being hovered. The cursor might be over the <li> but
> * not over the <a>. If you want the <a> to fill he entire area
> * of the <li>, then set it to display:block;height:100%;
> */
> }

which will not work in IE6 as IE6 does only understand pseudo-classes
attached to the a-element. so you need to rely on a JS-function.
see for example: son of suckerfish
(http://www.htmldog.com/articles/suckerfish/dropdowns/)

cheers
bernhard




--
www.daszeichen.ch
remove nixspam to reply

[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

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