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 ...

Get XML Companion, The, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.