Style columnSpan Property
Style columnSpan Property
The columnSpan property is used to specify how many columns an element should span across.
Syntax:-
Its syntax is:- object.style.columnSpan OR object.style.columnSpan = 1|all|initial|inherit
Return:-
Its return is:- string having column-span property of an element
Further Explanation:-
Value | Description |
---|---|
1 | The element should span across one column. |
all | The element should span across all columns. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |