Quote:
Originally Posted by kt1
This worked for all the epubs I've tried so far without the need to tweak or jump through any extra hoops:
In the calibre conversion preferences, under "Look & Feel", add the following to the "Extra CSS" box:
body, p, div, .calibre1, .calibre2, .calibre3, .calibre4, .calibre5, .calibre6, .calibre7 {
margin-left: 0;
margin-right: 0;
}
That should eliminate the left margin.
If you guys find that there are more tags or classes that commonly show up in your epubs that have "margin-left" set to something other than 0 , please let me know so we can add it to the list.
Hope this helps! I was relieved.
|
This has been working great for me! Almost every conversion I did using Calibre had this problem. I used this CSS and everything seems to be working fine. Is there any reason to not just apply this CSS 100% of the time? I mean do certain books need to not have the margins set like this?