Typographical Properties
Typographical properties allow the author to customize the presentation and layout of textual content.
Note: The font-stretch ,
font-size-adjust and the @font-face
declaration (and all associated parts of the font matching algorithm)
have all been removed in CSS 2.1). CSS3 re-introduces the
font-size-adjust property (3.7 relative sizing).
In this Section
font-family
sets the font family for text contentfont-size
sets the font size for text contentfont-weight
sets the font weight for text contentfont-style
sets the font style for text contentfont-variant
sets the font variant for text contentfont
specifies font propertiesletter-spacing
sets the letter spacing for text contentword-spacing
sets the word spacing for text contentline-height
sets the line heighttext-align
sets the horizontal text alignmenttext-decoration
specifies the decorations added to the text content of an elementtext-indent
sets the indention of the first line of text in a blocktext-transform
controls the capitalization of texttext-shadow
specifies a text shadow effect added to the text content of an elementvertical-align
controls vertical alignmentwhite-space
controls how whitespace is handled inside an elementdirection
specifies the writing directionunicode-bidi
controls embeddings and overrides for the Unicode bidirectional algorithm
User-contributed notes
- ID:
- #4
- Date:
- Thu, 23 Jul 2009 08:07:39 GMT
what happened to font-stretch?
- ID:
- #3
- Date:
- Sun, 27 Jan 2008 23:56:25 GMT
What about font-size-adjust? It's currently supported on Firefox for Windows, and will be on all platforms in FF3. Not sure about other browsers. It's in the CSS2 & CSS3 specs, although apparently absent from CSS2.1.
http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#propdef-font-size-adjust
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.