W3C home > Mailing lists > Public > www-html@w3.org > November 2000

Re: Focus Borders Around Hyperlinked Images

From: Tantek Celik <tantek@cs.stanford.edu>
Date: Thu, 09 Nov 2000 21:08:24 -0800
To: Frag Limited <frag@frag.gg>, www-html@w3.org
Message-ID: <1238289678-956204241@psdbay.com>
From: "Frag Limited" <frag@frag.gg>
Date: Thu, Nov 9, 2000, 9:25 AM

> I have some images that are hyperlinked. When these
> images are clicked on, a dotted line or focus border
> appears around it. Is there a way to disable this
> inherent feature or cheat around it?

Put one of these in your <HEAD>

<STYLE type="text/css">
IMG:focus { outline:none; }
</STYLE>


Tantek


References:

:focus
  http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classes

outline
  http://www.w3.org/TR/REC-CSS2/ui.html#dynamic-outlines

----------------------------------------------------------------------------
Want standards? Have you validated your HTML today?  http://validator.w3.org
Received on Friday, 10 November 2000 00:07:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:44 GMT