----- Original Message ----- 
From: "Philippe Wittenbergh" <[email protected]>
> 
> On Aug 8, 2009, at 10:10 PM, Fiona Hayward wrote:
> 
>> Apparently an image will be treated as an inline element and even  
>> though I
>> had zeroed margins and paddings, browsers will still add extra space  
>> to
>> images , apparently treating them like text and adding extra space to
>> compensate for serifs or whatever.
>> Is this the case?
> 
> Yes. An image is an inline element and rests on the baseline of the  
> parent block level element.
> An old but pertinent explanation:
> <https://developer.mozilla.org/en/Images,_Tables,_and_Mysterious_Gaps>
> 
> Philippe
> ---
> Philippe Wittenbergh
> http://l-c-n.com/


Thankyou Philippe

cheers
Fiona
______________________________________________________________________
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