XML technologies / CSS / Advanced websites with CSS / CSS property reference / layout-flow

(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)

The property layout-flow is not part of the CSS standard and selects a writing direction for text elements. It produces either horizontal text from left to right and top to bottom (the usual arrangement for European languages such as English or German), or vertical text from bottom to top and right to left (the usual arrangement for East Asian languages such as Chinese or Japanese).

This property has already been discarded in favour of the more flexible property writing-mode in the CSS standard.

Inherited: Yes

See also: writing-mode

Values

horizontal or vertical-ideographic

Default value: horizontal

Compatibility

CSS version: not part of the CSS standard

Works only in Internet Explorer for Windows from version 5.

Example

The following rule sets the layout method for all elements on the page to vertical writing from right to left:

body {
 layout-flow: vertical-ideographic;
}

  

 

 

 

back to top