Quote:
Originally Posted by Anak
If you want the default font size to match accurately on both renderers you should replace the % value with a pt value in de body tag. The font remains perfectly scalable.
Adobes default font size (1em) is 12pt. Kobos Access default font size is/was 14pt. That is why the text on my Touch is always bigger when using the Access renderer. But can be different now. Or different on a Aura HD.
|
What I see on the Aura is that text in a .kepub is close to 8pt when using the same font slider setting as I normally use for .epubs.
Quote:
Originally Posted by Anak
A brief example when the output will be different:
Code:
p {
margin: 0 !important;
}
compared to
Code:
p {
margin: 0 0 0 0 !important;
}
The latter overrules all margin settings.
If a class is defined as
Code:
.example {
margin-top: 5em;
}
It work as aspected with a 5em top margin in situation 1. In the second situation the 5em top margin will be ignored and set to 0.
When defining default values it is best to define as margin:0 !important instead of margin: 0 0 0 0 !important or margin-left, -right, -top, -bottom. The same applies for other selectors.
|
I've always had the impression that margin: 0; is simply a shorthand equivalent to margin: 0 0 0 0; so there should be no difference between using either form.
So now, I will have to fiddle with the css file to see if I can see any differences. Who needs to read ebooks when you can have more fun playing with the ereader?
Regards,
David