0

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 ?

15th Jan 2017, 10:21 AM
Hussain Mohammed
Hussain Mohammed - avatar
3 Answers
+ 4
You need to use nested <table> containers:
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 ... However, for just layout, you should use
or other containers semanticaly adapted, and style them with css as table family elements ( through the property 'display' ).
15th Jan 2017, 10:43 AM
visph
visph - avatar
0
Why would you want to do this?
15th Jan 2017, 10:23 AM
Andreas K
Andreas K - avatar
0
suppose i want to make a full rowspan sized button right next to the table
15th Jan 2017, 10:28 AM
Hussain Mohammed
Hussain Mohammed - avatar