Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Archive > iSilo/X

Notices

 
 
Thread Tools Search this Thread
Old 03-04-2004, 04:12 PM   #1
Francesco
Aficionado
Francesco will become famous soon enoughFrancesco will become famous soon enoughFrancesco will become famous soon enoughFrancesco will become famous soon enoughFrancesco will become famous soon enoughFrancesco will become famous soon enoughFrancesco will become famous soon enough
 
Francesco's Avatar
 
Posts: 391
Karma: 710
Join Date: Jul 2003
Location: Denver, CO, USA
Device: Nexus 7, Kindle Touch
Question Margin or padding?

Could someone please explain me the difference between margin and padding?
I already looked in the help file of the iSiloX, but it doesn't say anything about padding. I guess is too obvious.
Thank you.
(Embarassed in advance)
Francesco is offline  
Old 03-05-2004, 04:24 AM   #2
TadW
Uebermensch
TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.
 
TadW's Avatar
 
Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
Quote:
Originally Posted by Francesco
Could someone please explain me the difference between margin and padding?
Padding:
If your element has a background color that background color would fill the content area and the padding area. i.e. it would be inside the "element". So padding separates the content from the border, like the packing material in a box.

Margin:
If you want to space an element from it's preceding element then margin would be the correct thing to use as it does just that: creates a margin between one element and the next. So margin is on the very outside, on the edge if you like.

If it helps to do it visually, think of an A4 page of type inside a picture frame.
The margin is the space between the edge of the sheet of paper and the other elements (the parts of the frame).

The padding is the space between the edge of the sheet and where the type starts on the page.

The border would be the edge of the sheet of paper.

Also see attached picture

Tad
Attached Thumbnails
Click image for larger version

Name:	marginpadding.gif
Views:	670
Size:	7.7 KB
ID:	284  
TadW is offline  
Advert
 


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Amazon go overboard with padding the number of titles it has boswd General Discussions 8 06-27-2010 07:40 AM
calibre ignore margin-top and margin-bottom bender Calibre 2 12-11-2009 06:58 AM
Trailing & Padding of Mobi Pocket files DairyKnight Kindle Formats 1 09-21-2009 03:27 AM
Margin sizes... M0zza Calibre 2 09-22-2008 04:02 AM
Right Margin Control TedPark Sony Reader Dev Corner 4 07-02-2008 07:41 AM


All times are GMT -4. The time now is 10:58 PM.


MobileRead.com is a privately owned, operated and funded community.