Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Unordered List problem when exporting to ePub

Return to Member Forum

  • Author
    Posts
    • #69038
      Sheri G
      Member

      I am wracking my head, trying to figure out what is going on with my ePub stylesheet that is causing all of the bullets to wrap text below the marker. I am using CS 6.0, and I have been massaging the stylesheet to try to fix the problem, but no joy.

      Here is what is in my stylesheet:

      ul, ol {
      font-family:”Garamond Premr Pro”, serif;
      text-indent : 0;
      margin-left: 0;
      padding-left: 0;
      list-style-position: outside !important;
      }
      li {
      margin-left: 2em;
      }

      I have placed this at the top of the stylesheet, directly below the <p> declaration (which is the first style listed). As you can see, I added the “list-style-position: outside” tag to see if that would help (no), then added !important to see if that would help (no).

      Here is what the <p> style says:

      p {
      font-family : “Garamond Premr Pro”, serif;
      font-weight : normal;
      font-style : normal;
      font-size : 1em;
      text-decoration : none;
      font-variant : normal;
      line-height : 1.2em;
      text-align : justify;
      color : #000000;
      text-indent : 1.5em;
      margin : 0px 0px 5px 0px;
      }

      I just don’t understand what is going on to cause the bullet text to wrap under the marker. Otherwise, the ePub looks good and is ready to publish, except for the screwy bullets. Any ideas? Thanks.

    • #69494
      Marty Safir
      Member

      I’m sort of late to the party here, and I don’t know if you’ve solved this one. I have had success allowing InDesign CC to convert bulleted and numbered lists to ul and ol on export to epub. There are differences in the CSS that ID generates from yours:

      li.bullet {
      list-style-position:outside;
      list-style-type:disc;
      margin-left:24px;
      text-align:left;
      text-indent:0;
      }

      This doesn’t include all the other CSS properties, just the ones I think that count. The other great thing is upon converting to Kindle using latest Kindle Previewer, all of the lists came out fine for all kindle versions. Well, except for Kindle DX which I wish would just go away. I could not not get that to work right.

Viewing 1 reply thread
  • The forum ‘EPUB and eBook’ is closed to new topics and replies.
Forum Ads