Hi everybody!
I've been working with ePubs for a while now and I've always used Calibre. I use the whole package (Library Managment, Viewer, Editor).
I love the Editor, especially because when I started working with the epub3 format it was the first one letting me do so without breaking them.
Most of the time I use simple
CSS Classe Selectors to style my books. This time, I decided to test a different aproach, using other kinds of
selectors, avoiding to mark the
HTML code with
classes.
The thing is, it works fine on Calibre Editor (and also on various Reading Systems), but it fails on Calibre Viewer.
Here is a simple example of a
selector for footnotes:
Code:
@namespace epub "http://www.idpf.org/2007/ops";
a[epub|type~='noteref'] {
vertical-align: super;
line-height: normal;
font-size: smaller;
}
This
selector works as expected on the Editor and other reading apps, but not with the Viewer.
Is it a
known problem? Does anyone else experienced that?
Obs.: I've noticed that it only fails when I try to use
selectors containing the epub:type attribute.