Reply to Re: tables and images, in IE (ok in firefox)

Your name:

Reply:


Posted by Jonathan N. Little on 11/22/07 14:32

jodleren wrote:
> On Nov 21, 10:36 am, jodleren <sonn...@hot.ee> wrote:
>> hi all!
>>
>> I have this
>>
>> <table cellpadding=0 cellspacing=0 border=0>
>> <tr><td valign="top">
>> <img src="img1.gif" border=0>
>> </td><td valign="top">
>> &nbsp;a
>> </td></tr>
>> <tr><td valign="top">
>> <img src="img2.gif" border=0><img src="img3.gif" border=0>
>> </td><td valign="top">
>> &nbsp;b
>> </td></tr></table>
>>
>> Problem: IE gives a small pixel distance between the rows. Firefox
>> does not.
>> I have another file, which works in IE. But I cannot tell the
>> difference, except it consists of 3 td's, and their width's are set.
>>
>> What is the secret?
>
> I found that <p> was missing, this works (illustration): <tr><td
> valign="top"> <P> <img src="img1.gif" border=0> </P> </td><td
> valign="top">

Not sure how that is going to help you.

>
> as for DIV or CSS, I dont know much about it. For testing the code
> here, one could simply create some graphic files, say 20x20 pixels in
> 3 different colours, and one can see the "problem".

You do realize you are going to get a gap if the user enlarges the font
and the text cell expand the row taller than your graphic?

--
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

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