PDA

View Full Version : Getting rid of linked image borders



kathode
Jan 29th, 2003, 03:26 AM
Hi,
I am trying to get rid of the 'link borders' around images on my site. I used to do this by adding the attribute "border=0" into the IMG tag, but I've heard that's depreciated in HTML4. I'm not an expert with CSS, so I was just wondering what the proper way to do this is now. Is it just like a 'style=none' attribute or something? Thanks for your help.

MCookie
Jan 29th, 2003, 03:32 AM
<style type="text/css">
<!--
img {
border:0px;
}
-->
</style>

Or in the tag <img style="border:0px;" ...

kathode
Jan 29th, 2003, 03:35 AM
Thanks! I figured it was something pretty simple.