View Single Post
Old 06-17-2014, 11:06 AM   #8
odedta
Addict
odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.
 
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
Well, this works:
Code:
.List-Style3 {
  list-style-type: none;
}
.List-Paragraph3 {
  font-family: "Arial", sans-serif;
  font-size: 0.8em;
  text-align: justify;
  display:list-item;
}
.List-Paragraph3:before {
  margin-right:-1.3em;
  content: "★ ";
}
for html:
Code:
<ul class="List-Style3">
      <li class="List-Paragraph3">אני ואני בלבד אחראי ליצור אושר בחיי.</li>
</u>
Turns out you were right, the font mattered, if I used "Arial" instead of some other font I embedded it will work, the problem is now that I don't want the list items to show in Arial so I need to use a span tag for this symbol, oh well, this seems fixed.

On a side note, don't use the CSS rule:
Code:
direction:rtl
Instead use:
Code:
dir="rtl"
In your html files in order to get the desired effect since direction:rtl will not pass validation for EPUB3.
Of course this is a bit silly since both will work, but myself, like some others like to get their files validated.

Thanks again.
odedta is offline   Reply With Quote