|
|
#1 |
|
Berti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
XHTML: Attributes "start" at <ol> and "value" at <li>
These attributes are deprecated within xhtml.
But how can I do it without violation of the yhtml standard ? Is there any css equivalent ?? |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
No, unfortunately not. These attributes are not supported in the ePUB specifications and will not work on most readers.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Berti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
|
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
There aren't any in the current CSS specs, so also not in the ePUB specs.
|
|
|
|
|
|
#5 | |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 983
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
|
Quote:
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>
That would be really tedious to maintain in anything apart from a trivial test document. You could do it using CSS counters as well, but they are not widely supported. |
|
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,570
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Must not be used within a style sheet whose @media value is other than aural. I'm not sure why, though. |
|
|
|
|
|
|
#7 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 983
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
|
That's a bit bizarre. They add a custom way of doing columns that no HTML/CSS rendering engine supports, and then prevent the use of something that works. Hm.
|
|
|
|
|
|
#8 | |
|
Berti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
Btw. the book, i'm thinking about has 400 List entries, the first Chapter-Break is after no. 67. @Jellby: the "ePub spec" ?? sounds that there's something i should read. If possible, can you give me a link? Yes I know, Google ... but it's always bettet to get a tip to a good source of information. |
|
|
|
|
|
|
#9 | ||
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 983
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
|
Quote:
Quote:
|
||
|
|
|
|
|
#10 |
|
Enthusiast
![]() Posts: 29
Karma: 22
Join Date: Oct 2010
Location: London
Device: Kindle, iPad, iPhone 4, HTC Desire
|
Kindle and iBooks will display ol/li ul/li without any major issues if you don't add classes.
The only issue you might get into would be with nested list, it's best to take these as they come. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Feature Request: configurable space setting for "Insert blank line" in "Look & Feel" | therealjoeblow | Calibre | 15 | 07-25-2011 03:14 PM |
| SONY pocket edition: "Device locked" + "charge battery" obstacles? | hermes | Devices | 3 | 06-02-2011 03:32 AM |
| Woher bekomme ich "Infinite Jest" oder "Unendlicher Spaß" von David Foster Wallace? | bitschnau | Erste Hilfe | 3 | 11-01-2010 01:22 PM |