Print

Print


On 29/10/14 13:02, Sebastian Rahtz wrote:
>> On 29 Oct 2014, at 12:55, Peter Boot <[log in to unmask]> wrote:
>>
>> Sebastian Rahtz:
>>> I want some ideas about rendering marginal notes in HTML.
>> ....
>>>   e) move the <div> outside the <span>, up enough levels until its valid. but
>>> that mean it loses context
>> Is what I would do. Put the notes into a separate container, create hyperlinks between text and note, and if display in context or something like that is needed, use javascript.
> Ah, you mean I could put all the notes at the end, and float them into the margin at run time using JS.
> That’s not a bad idea.

Semantically purer too!