CSS tab-size property

Description

CSS tab-size represents size of a tab charcter in px or in a number.

Syntax

tab-size : length | number

Property values

numberDefault

The number represents a multiple of the space character's advanced width.

tab-size: 8;

length

It directly determines the size of a tab character. 40px means the width of tab character is 40px.

tab-size: 40px;

Applicable to

It applies to block containers.

#CSS digger
Was this article helpful?

 
×

Ctrl+D