Styl kolumnyWidth Property
Przykład
Zmień szerokość kolumn:
document.getElementById("myDIV").style.columnWidth = "100px";
Definicja i użycie
Właściwość columnWidth określa szerokość kolumn.
Obsługa przeglądarki
Property | |||||
---|---|---|---|---|---|
columnWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Składnia
Zwróć właściwość columnWidth:
object.style.columnWidth
Ustaw właściwość columnWidth:
object.style.columnWidth = "auto|length|initial|inherit"
Wartości nieruchomości
Value | Description |
---|---|
auto | Deafult value. The column width will be determined by the browser |
length | A length that specifies the width of the columns |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
Szczegóły techniczne
Domyślna wartość: | automatyczny |
---|---|
Wartość zwrotu: | String, reprezentujący właściwość szerokości kolumny elementu |
Wersja CSS | CSS3 |
Powiązane strony
Samouczek CSS3: Wiele kolumn CSS3
Odniesienie CSS: właściwość szerokości kolumny
❮ Obiekt stylu