Log in

View Full Version : Changing Tab color on selected page



DolphinDesign
07-05-2008, 11:02 PM
I'm new to this forum, so please forgive me if this has already been discussed, I looked through the postings and didn't see anything relating to it:

I am using the Drop Down Tabs Menu (#2) from Dynamic Drive (thanks! Great code!), but I would like the tab color on the page you are ON (selected page) to be a different color. I didn't see anything in the provided CSS file for doing that, so I created my own class for "tabON" with the tab color change (not sure if this was the correct way to do it?!) However, while the tab color change does show up in Dreamweaver, it does not show up when I preview in IE7 or Firefox.

Please see web site here: <http://www.dolphindesignstudio.com/sp_site_review/index.html>

and then see this JPG file of how I would "LIKE" it to look here:
<http://www.dolphindesignstudio.com/sp_site_review/SmartPlug_home_page.jpg>

If anyone could help out with what code is missing, what I am doing wrong, or how I should best do this, I would really appreciate it! :-)

thanks,
-Heidi Hackler
dolphindesign.seattle@gmail.com:

nootkan
07-06-2008, 06:43 AM
Heidi, look for the
a:link, a:visited {

color: #002878;

} or the

.orangetabs li a:visited{

color: #002878;

}
and change it to #00aeef to see if that does what you're looking for. The first one should make all links on the page your color when visited and the second one should make only the nav bar your color when visited.
Nootkan

allahverdi
07-06-2008, 07:19 AM
Color is not background-color.

Make background color and give color to it