etangins
etangins

Reputation: 624

Link CSS Not Showing Up

My younger sister is having a problem I can't seem to figure out either with her website which is that the links in the sidebar (5 red ones) turn white after being clicked on (visited property). I think this comes from a styling for the navbar, yet when I tried to style these links a different color, using the a:visited property it doesn't appear. In the inspect element there is some tiny warning icon next to the css rule which is crossed out. The website is here.

CSS

a
{
color:000000;

}

Upvotes: 0

Views: 69

Answers (3)

User12139
User12139

Reputation: 26

I think you need a pound # next to the color.

a
{
color:#000000;

}

Upvotes: 1

user1877745
user1877745

Reputation:

try this

a:active, a { 
color: #000000;
}

Upvotes: 1

SpoonIsBad
SpoonIsBad

Reputation: 187

try color:#000000 instead. It looks like you forgot the # for the hex

Upvotes: 1

Related Questions