Re: div inside of <td> in netscape...

by Ilya Dubinsky <ilya788(at)inter.net.il>

 Date:  Tue, 30 May 2000 20:19:42 +0200
 To:  pbabcock(at)bgsgroup.com
 Cc:  "hwg-languages(at)hwg.org" <hwg-languages(at)hwg.org>
 In-Reply-To:  felix
  todo: View Thread, Original
At 12:06 5/30/00 -0400, Phil Babcock wrote:
>Hey all
>
>I have the following code:
>
><table width="100%"><tr><td width="100%"><div style=""border: solid thin
>#cecece; background-color: #eeeeee"">text text text text
>etc</div></td></tr></table>

         Consider placing the style="" attribute within the TD tag.


>In IE5 the div automatically expands to 100% of the <td> size, irregardless
>of the length of the text contained in that cell.  In NN the div only
>expands to the size necessary to contain the text.  If I do <div
>width="100%"> then the div expands to 100% of the screen size, even flowing
>out of the table.
>
>So my question is:  how do I get NN to make the div fill the entire <td>
>without, irregardless of the text content?  IE seems to do this
>automatically.
>Phil Babcock
>Lead Web Designer
>BGS Group Inc.

				Yours, Ilya.

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA