| Home Beta programs |
Welcome to Mobipocket Developer Center |

Creating ContentGetting StartedWhat is the Mobipocket file formatHow do I create a Mobipocket eBookStandard eBooksAdvanced eBooks eBook features Cross-platform feature supportImage supportTable supportCover PageParagraph rendering and hyphenationHyperlinksGuide itemsFramesIndexes and DictionariesSectionsAuthoring tips Extended eBook features DatabasesSQL queriesJavascriptHTML forms Reference Open-eBook HTML tagsSupported HTML entitiesHTML form tagsMobipocket custom tagsOPF x-metadata tagsMobipocket URLsMobipocket Document Object Model (DOM)Mobipocket Active Server Pages (ASP)Mobipocket Active Data Objects (ADO)Mobipocket Javascript Objects Medical Drug interaction module Advanced topics Setting margins |
MarginsThe top, left, right margins are specified for the whole eBook file. These
settings override the default user settings for margins and which can be changed
by the user in the Settings pane of the Reader. <body topmargin="1em" leftmargin="2em" bottommargin="0" rightmargin="0"> <body topmargin="3px" leftmargin="10px"> px and em are supported as valid units.
When using slave frames, if the frame content is in an external HTML file,
you can use the same attribute in the BODY tag of the slave frame file. <mbp:slave-frame device="pda" display="top"
breadth="30px" topmargin="0" leftmargin="0"
rightmargin="0" bottommargin="0">Some slave content
|
© Copyright 2000-2007 Mobipocket.com