Jump to content

Recommended Posts

Hi guys. I'm new to Web Page Development and I've got a simple question that I need help with.

 

I made a jpeg image a hyperlink for my welcome page. My problem is that there's a purple border around the image now that it's a link. I've tried using style="color: black" on the anchor <a> tag as well as in the <img src> tag. I use Adobe dreamweaver and it disappears on the development environment but not when I display it on my browser. I'm not sure if it's a browser issue. Can anyone tell me if it's an issue with IE 7.0 or can anyone give me suggestions on how to make the purple border disappear..forever?!

 

Thanks in advance to anyone who shares his vastly superior knowledge with me.

 

  • 2 weeks later...

You just have to add border: none or border: 0 to your images in your css file

 

img {border: none}

 

That should keep the border from showing up. If you just want to give it another color you can use

 

img {border-color: "your color here"}

 

Hope that helps.

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.