Section A.5. Visual Styles


A.5. Visual Styles

A.5.1. font-size-adjust

The aim of this property is to allow authors to trigger font scaling such that substitute fonts will not look too different from the font the author intended, even if the substitute font has a different x-height. Note that this property does not appear in CSS2.1.


Values:

<number> | none | inherit


Initial value:

none


Applies to:

All elements


Inherited:

Yes

A.5.2. font-stretch

With this property, the character glyphs in a given font can be made wider or narrower, ideally by selected condensed or expanded faces from the font's family. Note that this property does not appear in CSS2.1.


Values:

normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | exTRa-expanded | ultra-expanded | inherit


Initial value:

normal


Applies to:

All elements


Inherited:

Yes

A.5.3. marker-offset

This property specifies the distance between the nearest border edge of a marker box and its associated element box.


Values:

<length> | auto | inherit


Initial value:

auto


Applies to:

Elements with a display value of marker


Inherited:

No


Note:

This property is obsolete as of CSS2.1 and will likely not reappear in CSS3, and the same is true for the display value of marker; as of this writing, it appears that other mechanisms will be used to achieve these effects

A.5.4. text-shadow

This permits the assignment of one or more "shadows" to the text in an element. The first two length values in a shadow definition set horizontal and vertical offsets, respectively, from the element's text. The third length defines a blurring radius. Note that this property does not appear in CSS2.1.


Values:

none | [<color> || <length> <length> <length>? ,]* [<color> || <length> <length> <length>?] | inherit


Initial value:

none


Applies to:

All elements


Inherited:

No




CSS(c) The Definitive Guide
CSS: The Definitive Guide
ISBN: 0596527330
EAN: 2147483647
Year: 2007
Pages: 130
Authors: Eric A. Meyer

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net