View Single Post
Old 03-09-2021, 02:23 AM   #1
what
Enthusiast
what began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Mar 2021
Device: none
Should I define margins around the text?

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?
what is offline   Reply With Quote