XML technologies / ePUB / ePub für (In)Designer / Refining tables / Designing with lines
(Excerpt from “ePub für (In)Designer — Mit InDesign Schritt für Schritt zum E-Book” by Sascha Heck & Yves Apel)
Instead of colored fills, use lines to divide tables. With cell styles assigned, use the CSS file’s property td.tabelle-reihen. InDesign already writes this from your freely named cell style. The values border-bottom, border-left and border-right determine line position.
td.tabelle-reihen {
border-bottom: 1px solid;
border-left: 1px dotted;
border-right: 1px dotted;
}Figure: Table divided by solid horizontal and dotted vertical lines.
CSS permits many other combinations. Explore its properties and experiment. An inspiring collection of CSS table layouts appears here: Top 10 CSS Table Designs.
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