Reply to Re: Can't seem to get rid of the padding

Your name:

Reply:


Posted by Jonathan N. Little on 10/19/07 18:07

laredotornado@zipmail.com wrote:

> Hi, You meant the align in the IMG tag? I removed that attribute and
> it approved things a little bit, but there's still an annoying space
> beneath the image
>
> http://elearningrd.info/portal/test3.php

Because an IMG is an inline element and that is room for text
descenders. I thought someone already informed you of this. If you want
to have an image in a table cell not to have this space then display as
block

td img { display: block; }


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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