Previous Message
Next Message

Problem in table

Sent by Bryce Fields on 31 January 2005 14:02


On Mon, 31 Jan 2005 13:08:06 +0100, Fabien Meghazi [EMAIL-REMOVED]> wrote:
> Hi all,
> 
> I know this is a table problem and tables a deprecated, but I'm trying
> to abandon transitional to strict mode and I've a strange behavior.
> 
> If you test this code, you'll see that there's a space between the
> image and the end
> of the cell. Does someone knows why ?

Images are an inline element, and in browsers that render in strict
mode (which the strict doctype is triggering), it is being rendered on
the baseline, and not the bottom of the rendered box (thus the padding
on the bottom).  If you assign "display:block;" to the images, the
padding will disappear.

-- 
Bryce Fields, Webmaster
Where I Work: Kentucky Council on Postsecondary Education
Where I Play: www.royalrodent.com

"Do or do not! There is no try!" -- Yoda
______________________________________________________________________
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/
Previous Message
Next Message

Message thread:

Possibly related: