HTML table column not long enough -
i have script generates table 2 'tr'. rows generated (with rails) based on data length of 'td's same. leaves gap of missing td's on either side throws off the style. there way make table appear complete missing cells using css without javascript?
http://jsfiddle.net/e8hraszk/1/
<table style="width: 100%"> <tr> <td>item 1</td> <td>item 2</td> <td>item 3</td> <td>item 4</td> </tr> <tr> <td>item 1</td> <td>item 2</td> </tr> </table>
what describing not table, it's 2 lists.
you should not use <table>
element.
since didn't give context or code, it's hard determine kind of element do need, it's not <table>
.
Comments
Post a Comment