Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Getting a <div> to fill a whole <td>


dpinion - 8:09 pm on Oct 13, 2010 (gmt 0)


Your post has me quite confused. When you say horizontal dotted line, I assume you mean to say vertical? From your code your div should be the same size as its <td> container(firebug confirms this).

You can vary the height of either div to expand it down:

<table>
<tr>

<td>
<div style="border-right: 3px dotted black;">
Column1:

Lots of content in here, with divs, etc...

Longer than Column 2
</div>
</td>

<td>
<div style="border-right: 3px dotted black;min-height:200px">
Column 2:

Some shorter content here
</div>
</td>

</tr>
</table>


What exactly are you trying to do?


Thread source:: http://www.webmasterworld.com/html/4216397.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com