470,571 Members | 2,353 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,571 developers. It's quick & easy.

Remove Image Link Styling

233 100+
I have an image link, an image within an anchor tag, that I would like to remove the styling of. When I say styling, I mean the default blue box around the image. I have tried:

text-decoration: none;

which I use to remove the underline from links, but this did not remove the box around the image link. Any thoughts?
Dec 19 '07 #1
3 2536
Not to difficult however it often seem's to be a problem for people but its as follows:

Expand|Select|Wrap|Line Numbers
  1. <a href="http://www.thescripts.com"><img src="example.png" border="0" /></a>
the border property of image tags lests you asign the size and by setting it to 0 it is not at all visible thus removing the color when a hyperlink is applied.

Hope this helps

Dec 19 '07 #2
233 100+
Oh geez.... can you tell this is my last day of work for the next two weeks? Thanks.
Dec 19 '07 #3
Your welcome, i know that feeling myself.

its quite often i have memory laps' and forget some of the simplest things in the world.

Dec 19 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by killerkatt | last post: by
8 posts views Thread by PhilM | last post: by
6 posts views Thread by Marek Mšnd | last post: by
4 posts views Thread by kevanbulmer | last post: by
12 posts views Thread by Charlie King | last post: by
21 posts views Thread by Russell Hoover | last post: by
11 posts views Thread by Chris Beall | last post: by
16 posts views Thread by stevedude | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.