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 ...

Get Special Edition Using XML, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.