XML technologies / ePUB / ePub für (In)Designer / Refining tables / Header background color (InDesign CS5)

(Excerpt from “ePub für (In)Designer — Mit InDesign Schritt für Schritt zum E-Book” by Sascha Heck & Yves Apel)

InDesign CS5 leaves table-header classes empty, explaining the previous example’s missing fills and lines. Add this property to the header class:

td.tabelle-header {
  background-color: #002052;
}

The header now has a background color and its white text becomes readable.

Table header with adjusted background

Figure: Table header with adjusted background.

Do the same for Header2, defining its background:

td.tabelle-header2 {
  background-color: #506899;
}

Header2 with adjusted background

Figure: Header2 with adjusted background.

  

 

 

 

back to top