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 Els on 09/28/33 12:01

patrice.fiset@gmail.com wrote:

> 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/

I'm guessing that by "active", you mean that while you're on the about
page, the 'About Us' link should be the colour the 'Home' link is now,
am I right?

This is not in the CSS, but in the HTML.
As you can see in the HTML, the 'Home' link as an ID added:
id="current". This is what is linked to the CSS to give that colour.
So, in order to do what you want, you just have to make sure that on
the about page, this 'id="current"' bit, is not on the 'Home' link,
but on the 'About Us' link. (and ditto for the other pages of course)

--
Els http://locusmeus.com/

 

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

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