Miscellaneous improvements

All properties now have an 'inherit' value option. When this value is used, the element inherits its setting for this property from the current setting, as specified in an enclosing element.

In some cases, the 'inherit' option is the default value, which means that the element inherits the characteristic from the parent element (unless an override value is explicitly set):

The 'vertical-align' property can now take a length value, such as '2pt'.

The 'text-align' property can now take a string value that represents the character or characters to centre the text on. This is of most use in tables, where columns of figures may need to be centred on a decimal point:

salary      { ... ; text-align: "." }

Some languages are written right to left. The 'direction' property takes a value of 'ltr' (left to right) or 'rtl' (right to left). This property specifies the base writing direction of blocks, the direction of table column layouts, the direction of horizontal overflow, and the position of the last line in a block with a 'text-align' property value of 'justify'. The 'unicode-bidi' property works in conjunction with the 'direction' property to control processing of in-line elements. Refer to the standard for details:

hebrew-text   { direction: rtl; unicode-bidi: embed }

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.103.10