![]() |
list-style-type bullet
1 Attachment(s)
Hello,
I want to style a list just like the one in Microsoft Word. (View attached) I used the following CSS code to style it: Code:
.List-Style2Do I have to embed a font to get this symbol? |
Have you tried:
content: "v"; ? |
Quote:
1. In your .css stylesheet: Code:
.List-Style2 {Code:
<p class="List-Style2">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac tellus nunc. Phasellus imperdiet leo metus, et gravida lacus. Donec metus ligula, elementum at pellentesque pellentesque, suscipit ac nunc.</p>Regards Rubén |
2 Attachment(s)
Quote:
EDIT: I have tried every solution people offered here and it doesn't work. I assume it's because I need to embed the Windings font. EDIT2: argh, I created a new ePub in Sigil with the settings you gave and it works perfect. Thanks RbnJrg. EDIT3: I am having a bit of trouble with setting this right for hebrew text: see attached for result. CSS code is here: Code:
body |
2 Attachment(s)
I also want this kind of list (see attached - with the star)
So I used this CSS code: Quote:
|
Html lists are one of those things that are guaranteed to render differently on different devices/apps. The more "creative" you get with them (or their css), the higher the chance that your intentions for them will fail on anything but one targeted platform.
|
Quote:
Quote:
Quote:
Code:
body {Regards Rubén |
Well, this works:
Code:
.List-Style3 {Code:
<ul class="List-Style3">On a side note, don't use the CSS rule: Code:
direction:rtlCode:
dir="rtl"Of course this is a bit silly since both will work, but myself, like some others like to get their files validated. Thanks again. |
Quote:
Code:
<div class="List-Style3">Rubén |
Arial is a proprietary typeface, so I hope you aren't figuring on distributing it. The wikipedia pages says Liberation Sans is similar, but whether it works the same way for this stuff you'll have to find out.
|
@Ruben: not if my HTML contains the attribute dir="rtl" and it does :)
@mrmikel: I'll try it out, thanks. |
Quote:
|
I will soon.
|
There is software, the Sony Reader Library, which pretty closely shows how an epub will be displayed on a Sony Reader:
http://esupport.sony.com/swu/5997/US/EN/ |
Quote:
|
| All times are GMT -4. The time now is 10:13 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.