Image links

I keep forgetting this so here it is, to remove the border around “image links”, set the border style on the IMAGE to none.

Example:

<div id=”example>

<a href =” somewhere.html” > <img src=”someimage.jpg” /> </a>

</div>

To remove the nasty border around the image that happens because it’s embedded in a link you have to set the border style to none, like so:

CSS

#example a img {

border-style:none;
}
Now hopefully I’ll remember this.