// background-color
AttributeOnlyStyleEmulationPropertyRenderer backgroundColor =
new AttributeOnlyStyleEmulationPropertyRenderer(
new StyleEmulationElementSetAttributeRenderer(
new String[] {"body", "table", "tr", "td", "th"}, "bgcolor",
new HTML3_2ColorEmulationAttributeValueRenderer()));
styleEmulationPropertyRendererSelector.register(
StylePropertyDetails.BACKGROUND_COLOR,
backgroundColor);
// HTML 3.2 provides very limited means with which to emulate border