Background and Color Properties

The background and color properties allow you to manipulate the quality of the background in areas and regions, and the color of an area. These properties include

  • background-color— The background-color property is used to specify a color to be used as the background for an area. The area could be a region, or a block object, or any number of table objects.

  • background-image— This property can be used to specify an image to be used as an object background. It accepts a URL (absolute or relative) as the value for the attribute.

  • background-repeat— This property can be used to repeat a graphic image as a background, to achieve texture effects.

  • color— The color property can be applied to a variety of objects and is ...

Get Special Edition Using XSLT 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.