CSS-Lesson 11

Fonts and Texts 3

The 'direction' property

The 'direction' property has the values 'rtl' (right-to-left) and 'ltr' (left-to-right) The specification for CSS version 2.1 says that web designers should not use this. See HTML-Lesson 20, 'bdo'.

The 'unicode-bidi' property

The 'unicode-bidi' property should also not be used by web designers.

The 'vertical-align' property

The 'vertical-align' property adjusts the vertical alignment of text within boxes

Value Notes
(length) positive values are up and negative down from the normal position
(percentage) Does the same for the line-height of the element
baseline Aligns text along its normal vertical position
bottom
middle
sub
super
text-bottom
text-top
top

The 'white-space' property

The 'white-space' property

Previous Lesson previous lesson next lesson Next Lesson