Fix the colspan and rowspan css in tpl