4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Blue borders on link images
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
hamish_mcc
Junior WebHelper
Junior WebHelper


Joined: 04 Nov 2004
Posts: 2

PostPosted: Thu Nov 04, 2004 12:48 pm (19 years, 5 months ago) Reply with QuoteBack to Top

How do you get rid of them? I've tried everything in CSS that I can think of, without success. I assume I'm missing something obvious here!

I notice that although Firefox doesn't usually show these, it does when you use an image map (which I was trying as way of getting rid of the blue edges in IE6 - didn't work, of course).

So, how do you get rid of them??
OfflineView User's ProfileFind all posts by hamish_mccSend Personal Message
Robert Wellock
WebHelper
WebHelper


Joined: 18 Jan 2002
Posts: 61
Location: Yorkshire - UK

PostPosted: Thu Nov 04, 2004 1:26 pm (19 years, 5 months ago) Reply with QuoteBack to Top

Blue edges do you mean on image-hyperlinks or the focus anyway try:

img { border:none; }

________________________________
};-) http://www.xhtmlcoder.com/
OfflineView User's ProfileFind all posts by Robert WellockSend Personal MessageVisit Poster's Website
hamish_mcc
Junior WebHelper
Junior WebHelper


Joined: 04 Nov 2004
Posts: 2

PostPosted: Thu Nov 04, 2004 2:04 pm (19 years, 5 months ago) Reply with QuoteBack to Top

I mean image hyperlinks. img{border:none;} works in IE6, and it isn't a problem in Mozilla.

Thanks for that, Robert
OfflineView User's ProfileFind all posts by hamish_mccSend Personal Message
Robert Wellock
WebHelper
WebHelper


Joined: 18 Jan 2002
Posts: 61
Location: Yorkshire - UK

PostPosted: Thu Nov 04, 2004 3:07 pm (19 years, 5 months ago) Reply with QuoteBack to Top

No problem.

________________________________
};-) http://www.xhtmlcoder.com/
OfflineView User's ProfileFind all posts by Robert WellockSend Personal MessageVisit Poster's Website
Thermit
Junior WebHelper
Junior WebHelper


Joined: 24 Aug 2004
Posts: 14

PostPosted: Wed Nov 10, 2004 10:13 pm (19 years, 5 months ago) Reply with QuoteBack to Top

You can also just set the border attribute of the image to 0...

<IMG SRC="..." border=0>

________________________________
Web Hosting Forum | Money Talk
OfflineView User's ProfileFind all posts by ThermitSend Personal MessageVisit Poster's Website
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Sun Nov 14, 2004 7:11 pm (19 years, 5 months ago) Reply with QuoteBack to Top

Thermit wrote:
You can also just set the border attribute of the image to 0...

<IMG SRC="..." border=0>

That is true, but it should be noted that CSS is perhaps a better way of doing it - and is also the only valid way to do it with XHTML.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.21045 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme