Reply to Re: Problem with table+img

Your name:

Reply:


Posted by Els on 07/24/06 23:14

Yves Lange wrote:
> Yves Lange a écrit :
>> Hello,

Hi :-)

>> I have a problem. I have a little marge under my images/main.jpg but i
>> don't understand why. I tried with firefox and IE 6.0 and i couldn't
>> find any solutions. Can somebody help me ?!?

[snip]
>> <td valign='top'>
>> <center>
>> ***************************************
>> <img src='images/main.jpg'>
>> ***************************************
>> </center>
>> </td>
[snip]

> The problem is only in IE not in firefox since the last update.

You really are using those asterisks before and after the image?

Anyway - without seeing your stylesheet, I can only guess the actual
cause, but there's generally two things you can do to eliminate the
space:
1. eliminate whitespace and line-breaks in your HTML
2. add this style rule to your stylesheet:
td img{display:block;}

HTH

--
Els http://locusmeus.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

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