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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 09-04-2019, 10:49 AM   #16
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 1,888
Karma: 12505016
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone X/6/iPad 1,2 & Air/Surface Pro/Kindle PW
Nice workaround!

I hadn't thought to float a link over the number - I was just thinking of dynamically creating the link on render!
Turtle91 is offline   Reply With Quote
Old 09-04-2019, 12:03 PM   #17
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,094
Karma: 3856613
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Turtle91 View Post
Nice workaround!
Thank you! Another trick for your arsenal With epub3, you can add "real" links to the numbers of an ordered list (the html code is maybe simpler, but the css used is a bit "tricky").
RbnJrg is offline   Reply With Quote
Old 09-04-2019, 12:49 PM   #18
Ghitulescu
Evangelist
Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'
 
Posts: 488
Karma: 150782
Join Date: Aug 2014
Device: PRS-T1
Excellent - I never thought of this idea

Anyway, I use red only to debug the links, only the alignement is important.
Ghitulescu is offline   Reply With Quote
Old 09-04-2019, 01:49 PM   #19
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,094
Karma: 3856613
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Ghitulescu View Post
Excellent - I never thought of this idea
Glad that it served you.

Quote:
Anyway, I use red only to debug the links, only the alignement is important.
Better yet; we don't have to worry about the text decoration

EDIT: And don't use a class to style the <a> tags inside <li> tags, so instead of:

Code:
a.myN {
  float: left;
  margin-left:-2em;
  height: 1.2em;
  text-decoration: none;
}
just use:

Code:
li a {
  float: left;
  margin-left:-2em;
  height: 1.2em;
  text-decoration: none;
}
and

Code:
<li><a href="../Text/Section0002.xhtml#N1">*******</a>

Last edited by RbnJrg; 09-04-2019 at 01:58 PM.
RbnJrg is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seriously thoughtful Zepto virus blocks my files Luke2 Lounge 9 10-16-2016 02:51 PM
conversion blocks the program volopazzo Conversion 6 01-11-2015 09:54 AM
Immutable code blocks crutledge Sigil 1 05-10-2010 08:54 PM
fonts as blocks in calibre waxly Calibre 1 03-24-2010 11:42 PM


All times are GMT -4. The time now is 10:43 AM.


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