You are here: Re: Strange Table Behaviour « HTML « IT news, forums, messages
Re: Strange Table Behaviour

Posted by Smiley on 11/22/58 11:39

"Jim S." <jim@yeah.com> wrote in message
news:KM2Hf.9101$Nv2.5916@newsread1.news.atl.earthlink.net...
>i had a similar problem designing one of my forms, and i had a terrible
>time until i dissected it , and found out that my answer is your answer
>too, ( to some extend) : one browser is more forgiving than the other.
> try this: it works
> <table border=1 width="100%" cellpadding=0 cellspacing=0>
> <tr>
> <td width="170" height="160">&nbsp;</td>
> <td rowspan=2 valign=top>&nbsp;
>
> </td>
> </tr>
> <tr>
> <td height="300">&nbsp;</td>
> </tr>
> </table>
>
>
> i hope that helped u.
>

There's a huge problem to your solution, Jim. It doesn't work. I want this
table to be able to accomodate any amount of text that I put into it. If
you try putting all the <BR>'s that I used to test it, your code falls
apart.

The reason is that you're code assumes that the bottom left cell will have a
height of 300. If the text goes beyond that, then both Explorer and Firefox
say "Screw it, this data is inconsistent - I'm just going to format the
height however I want"

I need the top left cell to have a height of 170 and the bottom left cell
should remain un-set so that it can stretch to accomodate my text.

 

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

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