View Single Post
Old 02-20-2012, 01:34 PM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by chrisridd View Post
You're right, but you could simulate it using a style for each list item:

Code:
ol { list-style-type: none; }
li.one:before { content: "One: "; }
li.two:before { content: "Two: "; }

<ol>
  <li class="one">Hello</li>
  <li class="two">Hello</li>
</ol>
etc.
Except that the ePub spec says of the "content" property:

Must not be used within a style sheet whose @media value is other than aural.

I'm not sure why, though.
Jellby is offline   Reply With Quote