/

HTML / CSS / JavaScript Tutorial

CSS Property: tab-size

[this page | pdf | back links]

The CSS (CSS3) tab-size property indicates size (length) of space used for the tab character.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

number

Number of space characters displayed for each tab character

length

Length of tab character (not supported by major browsers)

none

User cannot resize element

vertical

User can resize height of element

 

Default Value:

8

JavaScript syntax:

e.g. object.style.tabSize="12"

Inherited:

No

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile