PDA

View Full Version : chromemenu active link problem



dimitri
05-31-2006, 08:25 PM
Hi,
I just recently discovered the chrome drop down menu and look very nice. I do have some trouble with the css however. Please take a look at this part from my css:

#chromemenu ul li a{
float: left;
color: #3399FF;
font-weight: bold;
font-size: 90%;
/*padding: 6px 12px 6px 7px;*/
padding: 26px 12px 6px 7px;
text-decoration: none;
background: url(verdeler.gif) center right no-repeat; /*Theme Change here*/
height: 41px;
}

#chromemenu ul li a:hover{
background: url(navigatie_donker.gif) center center repeat-x; /*Theme Change here*/
color: #FF0000;
}

#chromemenu ul li a:active{
background: url(navigatie_donker.gif) center center repeat-x; /*Theme Change here*/
color: green;
}

the a:hover part works good, a nice red font. But the a:active does not work, for a fraction of time the font turns green, but then falls back to the color as described in the "#chromemenu ul li a" section of the css.

I am in no way a CSS wizzard, so help is really appreciated!
Thanks,
Dimitri

dimitri
06-01-2006, 10:19 PM
Hi,
please ignore this post. I discovered that this was a silly question because "active" does not mean what I earlier believed it did. Anyway, I solved my problem ("you are here") by using (Python) server-side scripting.
thanks,
Dimitri