
: How to alternate row colors of tables in ePub files Can anyone tell me how to create tables with alternating row colors in an epub? For example, I might want the default background color to
Can anyone tell me how to create tables with alternating row colors in an epub? For example, I might want the default background color to be white, but every other row would have a light blue background.
Is there a good way to do that using a basic epub software program like Sigil, or by hand coding the HTML?
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Candy

: Are image subfolders allowed in Sigil? I started out with InDesign. I was able to create a simple epub, then drag it onto eCanCrusher to crack open its contents. I could then copy images from

: Importing XHTML Files into InDesign I just watched a series of InDesign tutorials on Lynda.com. It looks relatively simple, but one thing I'm hung up on is importing content. I created my book
2 Comments
Sorted by latest first Latest Oldest Best
You can use the following CSS rules to style respectively even or odd table rows (See the Example on W3schools):
tr:nth-child(even) {
background-color: #f2f2f2
}
tr:nth-child(odd) {
background-color: #f2f2f2
}
Free books android app tbrJar TBR JAR Read Free books online gutenberg
In HTML just set the fill colours on each row to alternating values some authoring software probably has a table style that does this for you but off the top of my head I can't say which. MS-Word used to author HTML can do this but will probably do it the most verbose way possible, i.e. by having it set on every cell.
You could also do it with 2 styles applied to alternating rows.
Free books android app tbrJar TBR JAR Read Free books online gutenberg