Quote:
Originally Posted by JSWolf
...
Say the code read... <p class="para"> you would find .para in the CSS and change or add in... margin-left: 0 & margin-right: 0. That would fix the class para to have no margins and usually there's a class like <p class="noindent"> for the paragraphs that have no indents. Do the same fix. And for any other class that needs it...
|
I've seen some problem ePubs that have margins set in both paragraph "class" styles (e.g. those JSWolf mentions) and a global style for the <body> tag. Be sure to zero out any margin-left and margin-right listed under <body> also.
In addition, I've encountered files that in addition to margins set in the CSS file(s) have margins in a <style> section in the <head> section of the XHTML files as well. Check for those and set them to zero if present.