You are here: Re: image in table, IE6 bug? « HTML « IT news, forums, messages
Re: image in table, IE6 bug?

Posted by Rik on 11/25/33 11:49

ironcorona wrote:
> Shea Martin wrote:
>
>> do you know if there is a valid reason, that my html
>> did not work with IE or Opera 9?
>
> It seems to be that IE or Opera 9 won't recognise height="100%". I
> set it as a number; height="20" [completely arbitrarily] and it works
> in both IE and Opera. This is quite odd because it does recognise
> width="100%".

"height:100%" is undefined, because height of html & body are undefined.

Try
html, body{
height:100%;
}

> But now there's a new problem. IE is leaving some gaps that I can't
> seem to get rid of on the ml.png and the mr.png. I tried killing
> these gaps with CSS but it didn't work. It looks like the td is
> setting a padding value OR the image is setting a margin value.
>
> I'm not sure why. Perhaps someone who's more savvy with IE rendering
> issues could answer this better.

I haven't actually looked at the code, but why not manually set
paddings/margins to 0?

Grtz,
--
Rik Wasmus

 

Navigation:

[Reply to this 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

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