ThatJeeves Posted November 23, 2015 Share Posted November 23, 2015 Hello. I was wondering, If I change the hyperlink-color with CSS, i.e, a {color: black}, must I then at the same time define the background-color for the hyperlink, i.e a {background: green;}? Link to comment Share on other sites More sharing options...
Ingolme Posted November 24, 2015 Share Posted November 24, 2015 No, by default the background color of an element is transparent and that's preferable so that the background color of the element that contains the link will be behind it. 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