Quote:
Originally Posted by deback
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.
|
In my test epub, the page had alternating values of 0 and whatever I felt like setting the measurement to. This let me see what effect the values had.
As for the multiply by zero? Any unit of measurement multiplied by 0 is 0. If CSS understood furlongs, I could specify indents in furlongs but 0 furlongs is the same as 0 in any other unit of measurement from the Planck length to parsecs.
Rather oddly, I could set indents in any of the units I used and they applied which makes understanding how your statement about default values being zero was applicable to this discussion.