css - Dynamic size of even cells (nth cell ) in a table row -


i have table 4 cells per row. can make second , fourth cells expand, without changing width of others? can done without setting fixed width first , third cell, because want use class?

|cell1|cell2       |cell3|cell4        | 

another imaginary row

|cell1|cell2            |cell3|cell4           | 

edit: result want achieve. cell 2 , cell4 should have same width, , if possible, should dynamic depending on window size. cell 1 , 2 should have same width. 2 examples not same table, illustrate idea.

no, need each row own table that.

//row 1 <table>   <tr>     <td>1</td><td>2</td><td>3</td><td>4</td>   </tr> </table>  //row2 <table>   <tr>     <td>1</td><td>2</td><td>3</td><td>4</td>   </tr> </table> 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -