Reply to Re: IE ignores table cell height propery - why?

Your name:

Reply:


Posted by Andrey Tarasevich on 08/09/05 19:51

mbstevens wrote:
> 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.

Yes, but unfortunately it stops working once you switch IE6 to "standard" mode
by adding that '!DOCTYPE' line from my original example. I would drop that line
without any doubt, but then IE6 will start acting weirdly with respect to
element widths...

--
Best regards,
Andrey Tarasevich

[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

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