Reply to Re: Strange Table Behaviour

Your name:

Reply:


Posted by Jim S. on 01/04/90 11:39

ok then, your best bet is to do this: and it will work like you want it.

<table border=1 width="100%" cellpadding=0 cellspacing=0>
<tr>
<td width="170" valign="top"><table width="170" border="1" cellspacing="0"
cellpadding="0">
<tr>
<td height="160">&nbsp;</td>
</tr>
<tr>
<td>Type here whatever you what. and it will accomodate it. </td>
</tr>
</table></td>
<td height="160"
valign=top><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
</td>
</tr>
</table>

Note: i put a border of 1 so u can see the nested table.

tell me if that what u want :)
Jim

"Smiley" <none@ofyourbusiness.com> wrote in message
news:XtGdndH_cZdDIHHenZ2dnUVZ_tSdnZ2d@golden.net...
> "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.
>

[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

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