confusion in rowspan and colspan
Hey, I have learnt that you can use colspan and rowspan within the body suppose we colspan 3 columns in a tbody its easy but how can we colspan or rowspan all together the theader the tbody and the tfooter all together. How can we do that ?
1/15/2017 10:21:24 AM
Hussain Mohammed
3 Answers
New AnswerYou need to use nested <table> containers: <table> <tr> <td> <table></table> <!-- this is your table without the 'all-table-height' spaned column --> </td> <td> <!-- the fake spaned column content goes here --> </td> </tr> </table> Obviously, this is for a right column, but you can as well reverse the order of the wrapper table cells... as well as arrange complex nested <table>... However, for just layout, you should use <div> or other containers semanticaly adapted, and style them with css as table family elements ( through the property 'display' ).