Home › Forums › CSS › Text decoration not working › Reply To: Text decoration not working
September 18, 2014 at 4:58 pm
#183547
Anonymous
Inactive
Try adding !important after text-decoration value
.nav a:link { color: #ffffff; text-decoration: none !important; }
.nav a:hover { color: #ffffff; text-decoration: underline !important; }
I noticed that you are applying text-decoration to unvisited links. If you haven’t visited that link, the style wont apply. So click on it and see what happens.
:link pseudo styles links that haven’t been clicked.