Quote:
Originally Posted by theducks
margin: 1em 16pt 1em 2pt;
is the short form version
I have never seen Calibre use that in calibre# styles.
I tend to use those to show I have edited a conversion
I also don't believe Calibre ever changed a defined class that DID ise the short form.
The form is easy to remember
margin: 1em =All margins are 1em
margin: 1em 2em = top and bottom 1 em, right and left 2em
margin: 1em 16pt 1em 2pt; =(top, right, bottom, left) Clockwise starting at the top
|
Maybe this is because of a 1.4 change. From 1.4 change log:
EPUB/AZW3 Output: Use shorthand forms for margin, padding and border CSS properties, where possible