|
|
#1 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: Jun 2010
Location: Massachusetts
Device: iPad
|
< ol > "start attribute issue
Rather than hardcoding the numbers for the footnotes, is there a way to deal with this? I liked using <ol> since I get the correct wrapping behavior for long lines of footnote text. I had been using custom style code to do the same but it required quite a few lines of code to do what <ol> does succinctly. I am also using this tag and attribute to create step numbers (this is a how to book on building fly fishing reels). It would be very painful to have to hard code those step numbers. Apparently, the "start" attribute is deprecated but there is no suitable style defined to replace it. cheers, Michael Last edited by eclecticguy; 06-07-2010 at 01:24 PM. |
|
|
|
|
|
#2 |
|
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,828
Karma: 908606
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
Hi Michael, i've edited your title because otherwise the html code makes the forum spy go a bit crazy.
good luck getting your code sorted ; i'm sure someone will be able to give you a solution to your problem.
__________________
blog.ex-elibris.fr : les liseuses, les ebooks, nos lectures, la technologie… I don't want none of that mischief on my eels! - pdurrant since i would never want to disappoint wde and vr, we are thrilled to present the next exciting avatar in zelda's wardrobe, by vivaldirules himself. |
|
|
|
|
Enthusiast
|
|
|
|
#4 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,835
Karma: 2831780
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS 650, Kindle3, iPad2, Sony PRS T1, Sony PRS T2
|
Quote:
For what it is worth I had no problems with numbered footnotes within a chapter using <p></p> in 'Rosser, Ellen: The City of God, and Hamas' which I uploaded recently. Regards, Alex |
|
|
|
|
|
|
#5 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: Jun 2010
Location: Massachusetts
Device: iPad
|
Alex, thanks. However, your footnote text does not exhibit the wrapping behavior I am looking for. Basically, I want wrapped lines to align underneath the start of the previous line and not underneath the footnote number. <ol> does this nicely. I had some style code that did this but it was pretty verbose.
cheers, Michael |
|
|
|
|
|
#6 |
|
Corporate Drone (B&N)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 414
Karma: 14682
Join Date: May 2008
Location: SF Bay Area
Device: Nook for Windows 8
|
The start attribute (for ol elements) is not valid XHTML, so it's not valid for ePubs. The correct way to handle this is through appropriate use of CSS - look at counter-reset for instance.
However before you get your hopes too far up, I will note that ADE does not handle this particular bit of CSS even though it should. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| attribute "scheme" from namespace error in epubcheck 1.0.5 | thunderune | ePub | 15 | 06-30-2011 10:57 AM |
| A little newb help? Launch Calibre via batch file with "Start in tray" modifier | jphphotography | Calibre | 7 | 01-04-2011 11:49 AM |
| attribute "span" not | paulpeer | Sigil | 14 | 03-10-2010 05:24 PM |
| Seriously thoughtful Random House: "Guter Start für eBooks" | netseeker | Lounge | 1 | 06-16-2009 04:01 PM |
| PDF creation issue (and Don't Start!) | Steven Lyle Jordan | Workshop | 14 | 05-14-2008 06:44 PM |