Posted by Neredbojias on 11/23/42 11:45
To further the education of mankind, Jim Moe
<jmm-list.AXSPAMGN@sohnen-moe.com> vouchsafed:
> Paul Watt wrote:
>>
>> I've got a problem with a layout issue in FF. In IE everything
>> displays properly but in FF there's gaps in the layout and it driving
>> me mental. i've set margins and padding to 0 on everything.
>> the url is http://www.simongogerly.com/test/
>>
> This persists as one of the darkest secrets of CSS.
> <img> is an inline object that is treated like text so there is
> bottom
> space allowed for a descender. This makes sense when there is text
> around an image.
> To remove the bottom space:
> img { vertical-align: bottom; }
Yeah, I thought so. Unfortunately, I tried "vertical-align:baseline;"
instead of ...bottom. Duh!
--
Neredbojias
Infinity can have limits.
Navigation:
[Reply to this message]
|