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

The XSL Formatting Properties

The formatting objects in the previous section have properties that you can use to customize what they do. As we'll see in this chapter, a typical formatting object can support quite a few properties. Here are the current formatting properties that the W3C formatting objects specification supports. Many of these properties are taken from CSS and behave the same there. You set lengths and other units exactly as you do in CSS (using units such as px for pixels, pt for points, mm for millimeters, % for percentages, and so on):

  • absolute-position

  • active-state

  • alignment-adjust

  • auto-restore

  • azimuth

  • background

  • background-attachment

  • background-color

  • background-image

  • background-position

  • background-position-horizontal

  • background-position-vertical ...

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