Sent by Adriancasillas on 9 August 2004 18:06
Your advice - setting "display:block" to the img - fixed the
problem in Win NS7 and Firefox, but IE6 is proving its usual
stubborn self. As per the Devedge article you mentioned,
I've also tried setting "vertical-align: bottom", to no
avail.
Any other suggestions to this pesky problem would be much
appreciated.
TIA,
Adrian
---- Original message ----
>Date: Mon, 09 Aug 2004 08:37:19 -0400
>From: "Zoe M. Gillenwater" [EMAIL-REMOVED]>
>Subject: Re: [css-d] How remove the gap between logo and
horizontal menubar?
>To: [EMAIL-REMOVED]
>
[EMAIL-REMOVED] wrote:
>
>>The header section of the following layout is giving me
fits:
>>http://www.southamericanexperience.co.uk/testsite/chile/chi
le2.html
>>how can I get rid of the gap between the logo image and the
>>horizontal menu bar? (This gap appears in both IE6 and
Firefox
>>in WinXP, the only browsers I've checked so far).
>>
>>
>
>By default, images display on the baseline with text, so
that text
>descenders have somewhere to sit. In your case, you can
fix this by
>setting that image to display: block.
>
>Read more about this issue here (it talks about it in terms
of table
>cells but it's just as applicable with divs):
>http://devedge.netscape.com/viewsource/2002/img-table/
>
>Zoe
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/