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 - http://dean.edwards.name/IE7/), 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 http://www.fmvandervaart.com 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
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: