Quote:
Originally Posted by DNSB
I just checked and it worked with cm, mm, in, px, pt, pc, em, ex, ch, rem and % in calibre's editor and Sigil's preview. Basically, all the measurement units that I could remember. It seems as if 0 time anything is 0.
|
Okay, never mind. I was thinking that I had a problem with using "em" after 0 at some time in the past, but it doesn't seem like it would make any difference, since the default for all rules is zero, I believe (that is, when any rule doesn't exist for any class in the CSS file, Calibre and eReaders will assume the value is zero). Any tests that you performed were meaningless, due to the zero default for all rules. The only way to test this is to do a Check Book to see if Calibre finds an error when adding "em" after a zero.
And, by the way, using 0em for any rule has nothing to do with multiplying 0 by anything, so I have no idea why you would mention that, since it wouldn't apply in this discussion.