O'Reilly logo

Real World XML by Steven Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Text Properties

Probably the most common reason people think of stylesheets is to format text, so I'll start with the CSS text properties.

letter-spacing

  • CSS1 values: normal|<length>

  • CSS2 values: inherit

  • Default value: normal

  • Element support: All elements

  • Browser support: [IE4, IE5, IE6]

  • Style inherited: Yes

This property sets the spacing between text characters. It is implemented in Internet Explorer, but the implementation appears to be a little spotty.

line-height

  • CSS1 values: normal|<number>|<length>|<percentage>

  • CSS2 values: inherit

  • Default value: normal

  • Element support: All elements

  • Browser support: [IE3, IE4, IE5, IE6, NS4, NS6]

  • Style inherited: Yes

This property gives the minimum height of the element's box. Usually it is used to specify single ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required