Menu Home

tab-size

osbo.com | CSS | Properties | tab-size

The tab-size CSS property determines the tab size used to render preserved tab characters (U+0009).

Syntax

CSS

tab-size: value;

JS

object.style.tabSize = "value";

Values

<'tab-size'> = <number> | <length>
<number>

An integer or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits. The first character may be preceded by a sign (- or +). The last character may be succeeded by an exponent (e or E) and an integer.

<length>

Specifies the length using a number followed by a unit of measurement.

Initial

8

Examples

number

length

JS

Internal

text-indent

External

World Wide Web Consortium (W3C)