Jump to content
Sign in to follow this  
ThatJeeves

link color

Recommended Posts

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;}?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...