html - can't change link color in chrome -


i can't change color of links. have checked other posts , w3schools, it's not working. entire css looks far

div.nav{     text-align: center; }  a{     text-decoration: none;     color: black; } 

but links flash black (or red or w/e) when page loads , turn blue.

hmtl:

<div class="container-fluid">             <div class="nav">                 <nav>                   <a href="#">stuff</a>                   <a href="#">stuff</a>                   <a href="#">stuff-stuff</a>                   <a href="#">stuff</a>                   <a href="#">stuff</a>                   <a href="#">stuff</a>                   <a href="#">stuffstuff</a>                   <a href="#">stuff</a>                   <a href="#">stuff</a>                 </nav>             </div>         </div> 

my browser chrome , i'm using bootstrap 3.2.0 cdn

if have visited link may have switched "visisted" state. target hyperlink visited state can call following in css.

a:visited {   color: black; } 

there total of 4 hyperlink states, click on link below see them: http://www.w3schools.com/css/css_link.asp


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -