Click to See Complete Forum and Search --> : Removing colored line around an image used as a link


shensyel
04-25-2003, 12:28 PM
How can I remove the line around images I use for links? If it can't be removed, how can I set its color?

I have some transparent .gifs that just don't look nearly as cool with a big blue box around them :(

Forgive me if the answer has already been posted, I couldn't find anything to do with links around images...

Thanks for any help, HTML, CSS, it's all good...

-Steve
SpankingTheVoodooZebra (http://www.spankingthevoodoozebra.com) since 2003

AdamGundry
04-25-2003, 12:39 PM
Use this CSS in the image tag:
<img style="border: none">

Or, to remove the border from all images in a page, use this in the <head>:

<style type="text/css">
img {border: none}
</style>

Adam

shensyel
04-25-2003, 12:45 PM
That did the Trick!:D