Add rowspan attributes