CSS color declaration not working!

I have been using a CLASS tag as a method of highlighting a menu item  
to denote that the page being viewed. All of a sudden the color  
declaration in parts of the code is not working in Safari & Firefox.  
It appears to be working in IE 8 - haven't checked 7 or lower yet.

The CSS code:


#header ul#navbar a.top {
        color:#f1e1bc;;
        padding:.36em;
        font-size:1.3em;
        }
        
#header ul#navbar a.top:hover {
        color:#f1e1bc;
        padding:.36em;
        background-color:transparent;
}

#header ul#navlist a.main {
        color:#39c;
        padding:.36em;
        font-size:1.3em;
        }
        
#header ul#navlist a.main:hover {
        color:#39c;
        padding:.36em;
        background-color:transparent;

}
        
#footer a.foot{
        background-color:transparent;
        color:#39c;
        font-size:1.2em;
        }

The page can be seen at: http://www.melvillekidsdentistry.com/beta2/index.html 
  (note that this is up as a sample and linked pages are not present).

The first two declaration blocks (#header ul#navbar) work, but are not  
active on the linked page. The last one (#footer) is at the bottom of  
the page and works.

The middle  two are the problem (#header ul#navlist). In a.main the  
color does not work, but the padding & font-size do. In a.main:hover  
the color works, but not the padding. I know I must have done  
something to cause this problem, but I have tried every combination  
and I cannot figure it out.

Thanks for any suggestions. LindaQ
Linda Quinn
www.digitalquinn.com

"Photography takes an instant out of time, altering life by holding it  
still." Dorothea Lange

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to