Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50094

Should I define margins around the text?

$
0
0
In many ePubs that I own, margins are defined around the text, e.g. in Sarah J. Maas, Tower of Dawn:

Code:

# css
body {
    display: block;
    margin: 8px;
}
div.wrapper {
    margin: 0em 1.2em 0em 1.2em;
}

# html
<body>
    <div class="wrapper">
        ...
    </div>
</body>

In other ePubs (published by large publishing houses like Random House and Harper Collins), no margins are defined for the body or wrapper and, if viewed in a webbrowser, the text flows from edge to edge of the browser window.

Should or shouldn't I define margins? Why? When?

Viewing all articles
Browse latest Browse all 50094

Latest Images

Trending Articles



Latest Images