View Single Post
Old 04-04-2018, 08:06 PM   #1
talizorah
Junior Member
talizorah began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2018
Device: Kindle Paperwhite
Help with unordered list bullets please

Hello,
I'm currently busy with editing my ebook in Calibre in epub format. I've got my custom css attached to it.

In CSS my unordered list is set to display dashes, instead of circles. The code looks like this:

Code:
ul {
  list-style-type: none;
  text-align: justify;
}

ul li:before {
  content: '–';
  position: absolute;
  margin-left: -20px;
}
It all works well in the Editor and everything is displayed properly, but when I load my book into Calibre Library and check the preview there (shortcut V) the dashes are gone. There's absolutely nothing where they should be. The rest of the ebook formatting looks ok, except for those lists.
When I convert my book to MOBI format, the dashes turn into circles, just like the part of the css was omitted. Also wrong.

The dashes are actually very crucial to my book because in my native language you write dialogues using dashes, not quotation marks, so I'd really like them to stay where they should be, else all the dialogue parts are totally disrupted.

Any help, please?
talizorah is offline   Reply With Quote