You are here: Re: Extra gap problem in FF « HTML « IT news, forums, messages
Re: Extra gap problem in FF

Posted by Benjamin Niemann on 05/15/06 14:23

KiwiBrian wrote:

> On the following site:-
> http://www.hibiscuslink.co.nz/nzreinol/index1.html
> when viewed in FireFox 1.5.0.3 there is a gap between the bottom of the
> top image and its bottom border.
> IE6 does not display this gap.
> How do I eliminate this unwanted gap in FF and have both browsers display
> the same as each other?
> Thanks for any help
> Brian Tozer

Add a style="display: block" attribute to the OBJECT element. Default
display for OBJECT is inline, so FF reserves some space below it for
characters that decent below the baseline (e.g. "g").

(I assume that you move all rules from style attributes to an external
stylesheet, once you have fixed everything, so I won't complain about the
use of it ;) )

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация