@Weaselwords,
The epub's internal css can set margins in 3 (at least) different ways and they'll be cumulative.
- in an @page rule
- in body margins
- in xpgt margins (an Adobe specific file, page-template.xpgt)
Your posted css should already override the 1st possibilty (although I can't say I've ever seen a text-indent set in an @page rule before).
To override the 2nd possibility, you could try adding
Code:
margin-left: 0;
margin-right: 0;
to your existing css file's div, p, body,... {...} rule.
However, if the culprit is the 3rd possibility, a page-template.xpgt file, there is nothing you can put in your css to combat that. The easiest solution (as long as the epub isn't DRM'd) is to remove the xpgt file and all references to it. Calibre's
Modify Epub plugin can do this for you painlessly, simply by checking the relevant box. You can run it for your whole calibre library if you want. I believe a calibre epub-epub conversion also automatically removes xpgt margins, but I prefer to use Modify Epub myself.