Is there a way I can change colspan of td using CSS or this needs to be done only in html?
Asked
Active
Viewed 3,504 times
2 Answers
6
It's an HTML only property:
<td colspan="2">
There is no CSS equivalent of this (as far as I know.)

Kyle
- 65,599
- 28
- 144
- 152
1
I doubt that this is possible.
colspan relates to the structure of the document - so it is handled by the HTML/XML.
css only handles things that are to do with the presentation of the document.
Have you considered using XSL/XSLT on the XML? They might be more useful.

Rudrik
- 832
- 7
- 8
-
1http://www.w3.org/TR/css3-multicol/ may be this link will help you to solve this problem. – Rudrik Mar 08 '11 at 09:17