0 Replies Latest reply on Sep 26, 2012 11:36 AM by cadispraha

    epub margins

    cadispraha

      Hello, could you help me with margins in epubs?

      I set margins in ID CS6 epub export to 10pt. In css I can see:

      @page {

          margin : 10px 10px 10px 10px;

      }

      But Calibre ignore it and shows epub without margins.

       

      But when I set at the top of css:

      body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, pre, code, blockquote {

          margin:10;

          padding:0;

          border-width:0;

      }

      instead of 0 set by ID, all looks good, Calibre shows epub with margin, but if any other paragraph has set margin to any value, this value is increased with 10.


      Could anybody explain this, please?

       

      Thx a lot... Ilja