Resize a column using CSS

Is there a way to change colspan of td using CSS or does it need to be done only in html?

+4
source share
2 answers

This property is HTML only:

<td colspan="2"> 

There is no CSS equivalent of this (as far as I know.)

+6
source

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.

+1
source

Source: https://habr.com/ru/post/1342777/


All Articles