[thelist] CSS, Hot Spot Outline Colors

Robert O'Rourke rob at sanchothefat.com
Sat Sep 9 12:12:33 CDT 2006

Peter Brunone (EasyListBox.com) wrote:
> 		   By the way, with normal anchor tags you can turn this off by setting the hidefocus property to true.
> Cheers,
> Peter
> 				From: Cisco ciscorey at gmail.com
> Is it possible to change the color of the dotted outline that appears when a
> hot spot is selected within a mapped image? I'd greatly appreciate any
> insight.

I've heard of that hidefocus property before, can you tell me the syntax 
for it?
Cisco I've never used a browser that outlines areas within an image map 
but i think you can use the css outline rule, i've never tried changing 
the colour but I've used it to stop the outline appearing before...

Its CSS2.1 but I'm pretty sure IE6 supports it.

area:focus { 
    outline-color : red ; 
    outline-style : dotted ;
    outline-width : thin ;

here's the relevant bit of the spec:


More information about the thelist mailing list