Karlo Lozovina wrote:

> If I set IMG property "display" to "block", in Firefox the link area 
> seems much bigger than the image itself.

> http://www.mosor.net/ff

Solution depends on scenario.

If, as it seems, you want a default or declared block-element inside an
anchor to line up inline, with anchor tightly around the block-element,
the most natural would be to declare...
a {display: inline-block;}

To get Firefox 2.x in on the game you can declare...
a {display: -moz-inline-box; display: inline-block;}
...since pre-3 versions of Firefox don't support 'display:inline-block'.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to