It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Removing the 'marching ants' from a selected image

Removing the 'marching ants' from a selected image

Postby zoonimal on Mon Jul 09, 2007 12:44 am

If someone selects an image on my site (and most any other) immediately there's a broken border displayed (like static marching ants) around the pic.

Is there *any* way I can stop this from happening? Like maybe change that colour to be the same as the background or some such? Surely there has to be a way without resorting to Javascripting or such.

I've looked online but have been unsuccessful.

Help me Obi Wan.
zoonimal
 
Posts: 3
Joined: Mon Jul 09, 2007 12:39 am

Postby zoonimal on Fri Jul 13, 2007 1:35 am

So I guess there's no way to stop this happening? No mitigation without using Flash ?
zoonimal
 
Posts: 3
Joined: Mon Jul 09, 2007 12:39 am

Postby flabbyrabbit on Fri Jul 13, 2007 10:38 am

What do you mean by selecting an image? I am not sure what you are refering to. If you could give us a screen shot or example that would be great.

Flabby Rabbit
Image
User avatar
flabbyrabbit
500+ Club
 
Posts: 706
Joined: Thu Jan 25, 2007 1:10 pm
Location: Midlands, England

Postby zoonimal on Fri Jul 13, 2007 11:20 am

Ah... ok. when displaying an image using :

<a href="images/blah.jpg" TARGET="_top"><img src="images/blahthumb.jpg" height="50" border="6"></a>

... for example - and someone selects that image, ie : clicks on it, the img src pic acquires a broken border around it.

I'm looking for a way to negate that broken border being displayed around the pic.

Does that make sense ? If not - I can post examples.

Cheers for trying to help, by the way. Really appreciate it.
zoonimal
 
Posts: 3
Joined: Mon Jul 09, 2007 12:39 am

Postby flabbyrabbit on Fri Jul 13, 2007 1:41 pm

Oh yeah i get what you mean, this effect is not seen in IE7 but is in firefox. I can not think of away of getting around this as surely its to do with the browser being used. I will have a look around and see if i can find anything that coul help.

Flabby Rabbit
Image
User avatar
flabbyrabbit
500+ Club
 
Posts: 706
Joined: Thu Jan 25, 2007 1:10 pm
Location: Midlands, England

Postby DDragon on Mon Jul 23, 2007 4:38 am

might be something to request to the FireFox crew?
DDragon
50+ Club
 
Posts: 93
Joined: Wed Jun 20, 2007 12:51 am
Location: Australia

Re: Removing the 'marching ants' from a selected image

Postby EnvisionMore on Thu Apr 22, 2010 5:24 am

This should do the trick:
Code: Select all
<style>
<!--
:focus {
   -moz-outline-style: none;
}
-->
</style>

:D
EnvisionMore
 
Posts: 1
Joined: Thu Apr 22, 2010 5:18 am

Re: Removing the 'marching ants' from a selected image

Postby danidallia123 on Wed May 26, 2010 1:22 pm

Its really good in firefox but not in IE



Web Design Chennai
danidallia123
 
Posts: 2
Joined: Thu May 13, 2010 1:23 pm


Who is online

Users browsing this forum: No registered users and 10 guests