| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jan 2006
Location: St. Paul, MN
Posts: 1
|
Image anchor highlights
Hey all.... I'm new here, so I thought I'd start things off on the right foot- with a really dumb question. When using images for a link, how do I prevent IE from automatically highlighting them to show they're links? ie, <a href="#"><img src="image.gif" /> </a> Results in my image with a nice blue border, which looks like absolute crap. I know there has GOT to be a simple answer to this, but I sure can't figure it out... and I thought I was getting good at this too! Note this happens in IE, but not FF. Any ideas? |
|
|
|
|
|
#2 (permalink) |
|
senior member
Join Date: Sep 2005
Location: auckland, nz
Posts: 274
|
No worries bro we all have to start somewhere.. for a quick fix change your markup to: <a href="#"><img src="image.gif" border="0"/> </a> However this is bad practice, you should manipulate the presentation of your markup using CSS. Presentational markup is the devil. Your CSS rule would be: a img { border: none} |
|
![]() |