Quote:
Originally Posted by Doitsu
@grannyGrumpy:
FYI, if you designed ePubs exclusively for iPads, current Kindle models, some Kobo devices and other Webkit based devices and apps, you could simply use nth-child pseudo-elements:
Code:
p {
margin: .25em 0;
text-indent: 1.5em;
}
div.stanza {
margin: 1.5em 10%;
font-size: 90%;
}
div.stanza p:nth-child(odd) {
margin-left: 2em;
}
div.stanza p:nth-child(even) {
margin-left: 4em;
}
Unfortunately, it'll probably take a while until all major ebook reader manufacturers introduce CSS3 compliant readers.
|
Doitsu:
Are you having success with this on K4iOS? Our tests for adjacents (i.e., H3+p) on K4iOS have not been promising.
Hitch