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.
Figure: Table header with adjusted background.
Do the same for Header2, defining its background:
td.tabelle-header2 {
background-color: #506899;
}Figure: Header2 with adjusted background.
Copyright © dpunkt.verlag GmbH 2012
You may print the online version for your private use.
Otherwise, this chapter from “ePub für (In)Designer” is subject to the same terms as the printed edition: the work and all its parts are protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
dpunkt.verlag GmbH, Wieblinger Weg 17, 69123 Heidelberg, fon 06221-14830, fax 06221-148399, hallo(at)dpunkt.de
back to top