Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You should post your HTML and your CSS to show what you have tried.</p> <p>By the way, you can use a div inside the TDs to obtain the border-bottom: </p> <p><a href="http://jsfiddle.net/jzx2N/2/" rel="nofollow noreferrer">http://jsfiddle.net/jzx2N/2/</a></p> <p>EDIT: new code to preserve TDs height and width aligned...</p> <p><img src="https://i.stack.imgur.com/Qa1QO.png" alt="enter image description here"></p> <p>CSS</p> <pre><code>table{ border-collapse: collapse; margin: 20px; } td{ padding-top: 15px; padding-bottom: 15px; border-right: 2px dotted silver; border-left: 2px dotted silver; vertical-align: bottom; width: 33%; } .tdLeft{ border-left: none; } .tdRight{ border-right: none; } .innerDiv{ border-bottom: 2px dotted silver; padding-left: 20px; padding-right: 20px; height: 100%; margin-left: 20px; margin-right: 20px; padding-bottom: 20px; } </code></pre> <p>HTML</p> <pre><code>&lt;table&gt; &lt;tr&gt; &lt;td class="tdLeft"&gt; &lt;div class="innerDiv"&gt; Stuff on column &lt;/div&gt; &lt;/td&gt; &lt;td&gt; &lt;div class="innerDiv"&gt; Stuff on column &lt;/div&gt; &lt;/td&gt; &lt;td class="tdRight"&gt; &lt;div class="innerDiv"&gt; Stuff on column &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="tdLeft"&gt; &lt;div class="innerDiv"&gt; Stuff on column &lt;/div&gt; &lt;/td&gt; &lt;td&gt; &lt;div class="innerDiv"&gt; Stuff on column &lt;/div&gt; &lt;/td&gt; &lt;td class="tdRight"&gt; &lt;div class="innerDiv"&gt; Stuff on column &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="tdLeft"&gt; &lt;div class="innerDiv"&gt; Stuff on column &lt;/div&gt; &lt;/td&gt; &lt;td&gt; &lt;div class="innerDiv"&gt; Stuff on column &lt;/div&gt; &lt;/td&gt; &lt;td class="tdRight"&gt; &lt;div class="innerDiv"&gt; Stuff on column &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload