O'Reilly logo

Special Edition Using XML, Second Edition by - et al. David Gulbransen

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

CSS Properties

The CSS properties represent the physical display properties, which can be manipulated in order to affect the appearance of an element when it is rendered in the browser. Each of the following categories of properties is grouped based on the type of display it alters. This is by no means a complete list of all the CSS properties, but this is a very good start to work with formatting XML documents.

Properties are listed as a keyword, followed by a colon, which separates the property from the property value

SELECTOR {property: value; property: value} 

Now let's examine some of the more common properties and their acceptable values.

Colors and Backgrounds

There are a number of properties that are related to changing the color of ...

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