Quote:
Originally Posted by Adjust
I know that's why I used it [smallcaps] as an example. (btw it does work in iBooks)
|
So far I can't say smallcaps works perfectly fine for me in iBooks. Actually, the only smallcaps that work right now are the one declared in the HTML elements tags directly... I don't understand why. By that I mean that for example my p.chaptertitle, h1.title classes with "font-variant: small-caps;" in the CSS work, but I also have a separate span class declared like this in the stylesheet:
Code:
span.smallcaps {
font-variant: small-caps;
}
...and it doesn't work. For example, at the beginning of first paragraph, when I do <span class="smallcaps">First words</span> it has no effect in iBooks.
And at the time of writing this I checked the same file in the Calibre viewer and it only accepted my h1.title smallcaps, not even the small caps declared in p.chaptertitle.
Small caps is the most mysterious part of the formatting so far... There was also a mysterious problem with "text-align" in iBooks, but thanks to
Liz Castro's blog I fixed the problem by adding <span> and </span> inside the element I want to align differently.