View Single Post
Old 08-28-2014, 12:50 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,139
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DomesticExtremis View Post
Exactly

Wrapping your head around the box model allows all sorts of fun things (if you device does not override 'Publishers styles' )

Remember ( ) you can work with each (margin,border,padding) individually (top, right, bottom, left) for some fun effects

Margin: the distance to the Border

Border: may be invisible or have thickness (style and color)

Padding: space from the border to the text or image and can be background colored


The example (chapter number) on Sigils page https://code.google.com/p/sigil/ makes fairly simple use of the Box model (book from feedbooks.com)

Last edited by theducks; 08-28-2014 at 12:51 PM. Reason: fixed order
theducks is offline   Reply With Quote