On 10/29/2014 12:32 PM, Sebastian Rahtz wrote:
> if this isn’t your area of interest, stop reading now….
> I want some ideas about rendering marginal notes in HTML.
[snip lucid explanation]
> g) scream and shout and kick
> The default is g).
I once played around with making the notes into divs, but outputting
them after the end-tag of the paragraph or other
mixed-content-containing element in which they occurred. But I haven't
checked to see if this is valid XHTML/EPUB3 because I haven't had to do
it for some while.
The problem I had was aligning them with the point of reference, if you
are inserting something for the user to click on. Or were you intending
them just to be there of their own accord as the source paragraph
scrolls into view (like paper marginal notes)?