You are here: Re: IE ignores table cell height propery - why? « HTML « IT news, forums, messages
Re: IE ignores table cell height propery - why?

Posted by mbstevens on 08/09/05 18:51

The problem is that IE
> 6 is ignoring the 'height' specification for the first and the last rows' cells.
> Every row in IE appears take exactly 1/3 of the table's height.

<html style="width: 100%; height: 100%">
<body style="width: 98%; height: 98%">
<table style="width: 100%; height: 100%">
<tr><td style="height: 20px; border: 1px solid
black"><p>1</p></td></tr>
<tr><td><p>2</p></td></tr>
<tr><td style="height: 20px; border: 1px solid
black"><p>3</p></td></tr>
</table>
</body>
</html>

....seems to work fine on ie6 for me. Of course, you get left with a
border of a few pixels.

 

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

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