Jump to content

Recommended Posts

Posted (edited)

Hello, I have a question. At first I thought that I could easily make this happen, but it turned out to be more difficult than i thought.

 

I am simply trying to make all img borders to be a certain color in css. So I found the way you put img with attributes in css, and even do the hover highlight.

 

The problem is that the images bottom borders do not change, but the right, left sides and the top do. The bottoms stay the typical IE link blue?

 

Does anyone have any snipets or solutions for this in css?

 

Thanks for your time

Edited by airjunkie2000
Posted

It sounds as if the bottom border you're seeing is the standard link underline. Try adding to your css something like

 

a { text-decoration:none; }

 

If that's not it, can you post a code snippet or a link to the code?

Posted

Can you give us a link to the page where this happens? Sometimes seeing can bring other ideas too or help diagnose

Posted

If you specify text-decoration: none; in your CSS, it will work for anything within the link -- text or images.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...