Previous Message
Next Message

Firefox & floated elements

Sent by Philippe Wittenbergh on 24 March 2006 12:12

On Mar 24, 2006, at 9:47 PM, Tudor Iordachescu wrote:

> I have a horizontal menu styled out of an ul, with each li floated  
> left and
> containing a link. Everything works fine (I suppose partly because  
> I use the great
> IE7 script from Dean Edwards -, yet  
> there's a
> strange thing happening in Firefox 1.5 (possibly in older ones too,  
> I haven't
> tested yet). All the links when clicked show a dotted selection  
> marker around the
> element that extends all the way to the left of the browser viewport.
> ...
> The menu can be seen at and other  
> floated links that
> show the same behaviour are the photo gallery links on the products pa

Float has nothing to do with it.
The reason for those large focussing rings is the massive negative  
text-indent on your <a> blocks.

Philippe Wittenbergh

css-discuss [EMAIL-REMOVED]]
IE7b2 testing hub --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: