The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Text decoration not working Reply To: Text decoration not working


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.