Link to home
Start Free TrialLog in
Avatar of a182612
a182612

asked on

CSS link color stays blue & underlined onload of page.

I am using the following code to color my links and when I open the page in the browser the first time it shows the standard blue links underlined.  After I click on a link it resorts to the colors I have selected.  This occurs in both Netscape 7.0 and I.E.  How can I make the page come up nitially with the link basic unvisted state have the color I want it to be.

Here is the code:
  /* LINK STYLES */
     a:link{color:#524029;
       font-size: 12px;
       font-weight: bold;
         text-decoration: none;}
     a:visited {color: #ED7600;
           text-decoration: none; }
     a:hover {color:#994C00;
           text-decoration: underline;
           font-weight: bold; }
     a:active {color:#994C00;  
          text-decoration: underline; }      
Avatar of eaglewizard_1975
eaglewizard_1975

Looks correct, and seems to be working for me.  What does the whole page code look like?
ASKER CERTIFIED SOLUTION
Avatar of GrandSchtroumpf
GrandSchtroumpf

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jan Louwerens
Maybe the initial page you are looking at is a cached version. And when you click on links, the new pages are updated.
Try refhreshing the initial page in your browsers (the css file needs to be loaded from the server and not the cache) and see if that fixes it.