You are here: Re: CSS - Problem with a href. When active I want the links to keep the hover color help « HTML « IT news, forums, messages
Re: CSS - Problem with a href. When active I want the links to keep the hover color help

Posted by rf on 09/28/59 12:01

<patrice.fiset@gmail.com> wrote in message
news:bc509700-7f69-4ace-a4e3-765b32876ae6@m34g2000hsf.googlegroups.com...
> Hello, can someone good in CSS help me figure out how to set the
> active color like the hover color for the top menu of this page.
>
> http://www.westland-associates.com/properties/northpark/

Further to what Els said:

:active is not what you think it is. It is not the "current page", rather it
is the currently active link. That is, for example, when the mouse button is
currently pressed over the link, before the mouse button is released and the
link is activated, resulting in a get to the server for the href mentioned
in the link.

http://www.w3.org/TR/CSS21/selector.html#dynamic-pseudo-classes

As Els implies, changing the colour of the "current" menu item is done
server side.

--
Richard.

 

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

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