I doubt it is possible.
colspan refers to the structure of the document - therefore it is processed by HTML / XML.
css handles only those things that are related to the presentation of the document.
Have you considered using XSL / XSLT in XML? They may be more useful.
source share