Skip to main content
blockDirection property

Gets a string value that indicates whether the content in the block element flows from left to right, or from right to left.

Syntax

JavaScript

p = object.blockDirection

 

Property values

Type: String

ltr

Content flows from left to right.

rtl

Content flows from right to left.

See also

address
blockQuote
body
currentStyle
custom
dd
div
dl
dt
fieldSet
form
hn
li
menu
ol
p
pre
ul
direction