View Single Post
Old 09-28-2013, 04:12 PM   #3
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
Quote:
Originally Posted by theducks View Post
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
Purple Lady is offline   Reply With Quote