colspan:
<td colspan="4">
</td>
column-span
<td style="column-span:4">
</td>
The colspan
does working properly. but column-span
does not working.
I have little bit confusion with the full name :
because colspan
full name is column span
. but column-span
is different from colspan
.
Please explain the meaning of
colspan
andcolumn-span
And tell me the difference.
colspan:
<td colspan="4">
</td>
column-span
<td style="column-span:4">
</td>
The colspan
does working properly. but column-span
does not working.
I have little bit confusion with the full name :
because colspan
full name is column span
. but column-span
is different from colspan
.
Share Improve this question edited Apr 22, 2015 at 9:25 Ramesh Rajendran asked Apr 22, 2015 at 9:24 Ramesh RajendranRamesh Rajendran 38.8k49 gold badges159 silver badges240 bronze badges 1
Please explain the meaning of
colspan
andcolumn-span
And tell me the difference.
-
Note: Browser support for
column-span:
is poor. Avoid using it. w3schools./cssref/css3_pr_column-span.asp – iCollect.it Ltd Commented Apr 22, 2015 at 9:25
1 Answer
Reset to default 8column-span:
was designed for print-style layouts and is a pure CSS rule. It is used to span CSS columns
(not table columns).
colspan
the attribute is used for table TD
elements to get them to span multiple columns in the table.
Note: Browser support for column-span:
is poor. Avoid using it. http://www.w3schools./cssref/css3_pr_column-span.asp