By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,024 Members | 1,945 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,024 IT Pros & Developers. It's quick & easy.

Remove Image Link Styling

100+
P: 233
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
Share this Question
Share on Google+
3 Replies


P: 24
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

Chris
Dec 19 '07 #2

100+
P: 233
Oh geez.... can you tell this is my last day of work for the next two weeks? Thanks.
Dec 19 '07 #3

P: 24
Your welcome, i know that feeling myself.

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

Chris
Dec 19 '07 #4

Post your reply

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