Amazin Posted January 9, 2015 Share Posted January 9, 2015 ok, this is one of my CSS code: #first a:link { text-decoration: none; background-colour: #005CE6; } I was trying to remove the underline in my links and I did it! yeaaah! unfrotunaly the background colour command is not working. When I remove the text-decoration command it worked again, I can't seem to have them both working for me at same time. any idea why?? I sometimes want to pull my hair out:( <div id="first"><ul><li><a href=#>p1</a></li><li><a href=#>p2</a></li><li><a href=#>p3</a></li><li><a href=#>p4</a></li></ul></div> Link to comment Share on other sites More sharing options...
Ingolme Posted January 9, 2015 Share Posted January 9, 2015 In CSS, the word "color" is spelled as in American English. So the rule would be background-color. Link to comment Share on other sites More sharing options...
Amazin Posted January 9, 2015 Author Share Posted January 9, 2015 are you kidding me? just because of that? anyways I just tried and its now working. thank you so much:) I was reading a book about CSS and it mentioned that CSS and HTML are imperfect systems. no ######! Link to comment Share on other sites More sharing options...
Ingolme Posted January 9, 2015 Share Posted January 9, 2015 I don't particularly see that as an imperfection. They had to choose a name for the property and they decided to go with the American spelling, probably because most people involved in the writing of the specification were American. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now