Results 1 to 3 of 3

Thread: Changing Tab color on selected page

  1. #1
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Changing Tab color on selected page

    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:

  2. #2
    Join Date
    May 2005
    Location
    Gold River, British Columbia Canada
    Posts
    29
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Heidi, look for the
    Code:
    a:link, a:visited {
    
    	color: #002878;
    
    	}
    or the
    Code:
    .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

  3. #3
    Join Date
    Jul 2007
    Location
    Azerbaijan, Baku
    Posts
    144
    Thanks
    11
    Thanked 27 Times in 25 Posts

    Default

    Color is not background-color.

    Make background color and give color to it

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •