Quote:
Originally Posted by GrannyGrump
@JSWolf
If you prefer using pt/px as your document margin, how do you style side margins for blockquotes and divs when you want a wider margin? Do you personally use %, em, or a fixed measurement in pt/px/cm?
|
If I am not mistaken, a blockquote's default margins is 1.2em top/bottom and 42px left/right.
What I use is 1em top/bottom and 1.5 or 2em left/right. For a blockquote, em is OK. It's left/right and top/bottom margins (for the entire screen) should be fixed. If you have a 6" eInk screen, 5% will give a certain margin. On an iPad, a 5% margin will be larger. top/bottom & left/right margins should always be fixed. If the purpose of the margins is to prevent the text from betting up against the side of the screen/bezel/window then you don't need a large margin. For that sort of margin, I've seen 5-9pt used and that works without being too big for most people. I know some (myself included) like the margins as small as possible.
Oh, in some ePub, the blockquote is simulated. The publisher does not use a true blockquote. The use multiple classes to do the simulation. And sometimes, they don't bother to set a right margin. This is a holdover from Mobipocket on the Kindle and it's very bad practice. So I go into the CSS and fix the simulated blockquotes to have proper margins instead of the sometimes mess of margins they use. Heck, I've even seen 5% left/right margins on a simulated blockquote. And I do make sure there right margin matches the left margin because I do want things to look good. Mobipocket style blockquotes look awful.