Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ugly Blue Box

Status
Not open for further replies.

lhaworld

Technical User
Jul 2, 2002
24
US
hi,

I'm getting a blue box around linked images, i've set the border to "O" and set CSS to show no box. still getting one in IE. will IE just over ride the CSS forever?

thanks.
 
It's impossible to say what you're doing wrong w/o seeing your code. However, use this example to help guide you, 1st box has a border, 2nd box has none - they are both links to google. (looks the same in firefox1.5 and ie6):

Code:
<html>
<head>
<style type="text/css">

img.noborder {
   border:0px;
}

</style>
</head>
<body>
<a href="[URL unfurl="true"]http://www.google.com"><img[/URL] src="test.jpg" /></a>
<br /><br />
<a href="[URL unfurl="true"]http://www.google.com"><img[/URL] src="test.jpg" class="noborder" /></a>
</body>
</html>

-kaht

[small] <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <.</B>[/small]
[banghead] [small](He's back)[/small]
 
most of the time ie won't...unless you manually have tweaked the settings.
check your css to see if you have any reference to links that is being applied to all links and essentially images as well...
post some coode if you need more help..
All the best!

:--------------------------------------:
fugitive.gif

[URL unfurl="true"]http://mostarnet.com[/url]

All around in my home town,
They tryin' to track me down...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top