|
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">
>> a
>> </td></tr>
>> <tr><td valign="top">
>> <img src="img2.gif" border=0><img src="img3.gif" border=0>
>> </td><td valign="top">
>> 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
Navigation:
[Reply to this message]
|