Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2014, 11:22 AM   #16
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,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by MacEachaidh View Post
Jellby, your system isn't so clear, and falls down when the items in the list are longer than a single line. The list then becomes a bit messy and indistinct.
Well, you have to provide some styling, which I deliberately omitted. For example, if you want a hanging indent in the list items:

Code:
div.list p {
  text-indent: -2em;
  margin-left: 2em;
}
and if you want multi-paragraph items, one could be a bit more elaborate:

Code:
<div class="list">
 <p class="item">1. Item 1</p>
 <p class="item">2. Item 2</p>
   <p>Second paragraph of item 2</p>
 <p class="item">3. Item 3</p>
</div>
Code:
div.list p {
  margin-left: 2em;
}
div.list p.item {
  text-indent: -2em;
}
Yes, you have to number the items by hand, but you have to number the chapters and footnotes by hand too. If you are constantly reordering elements, you should consider creating the content in some kind of scripting or post-processing.
Jellby is offline   Reply With Quote
Old 03-04-2014, 12:36 PM   #17
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
If you are looking for exact layout and control, then looking at epubs makes no sense. Anything that reflows will never be easy to attain perfect formatting in.

I think people are looking for a format that will magically work like a magnifying glass, but none does, especially over a range of sizes from cell phone to laptop computer.

If you want browser type flexibility, then web pages and their browsers with all their facilities and tests are about all that answer that need.
mrmikel is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Numbered Lists on the Nook Mark3 Conversion 1 09-07-2011 10:56 PM
bullet and numbered lists cel4145 Writer2ePub 4 05-07-2011 05:29 AM
Continuing numbered lists (ol) in ADE EricDP ePub 13 09-07-2010 08:30 AM
numbered lists, but with a text break soup Sigil 1 07-30-2010 04:27 AM
Are the Reader's days numbered? WilliamG Sony Reader 32 09-23-2007 02:56 PM


All times are GMT -4. The time now is 02:57 PM.


MobileRead.com is a privately owned, operated and funded community.