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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -