X
Xah Lee
i'm trying to annotate a literature, so that the main text is on the
left side about 60ex wide and the annotations are in a box on the right
side about 40ex wide.
the way i did this is so have like:
<p>...one paragraph of main text...[†1]...</p>
<div class="note">
†1 ...
</div>
where the class "note" floats right.
This all works well except when the paragraph is really long, in such a
case the annotation will be one screenful down.
For example, see second annotation at
http://xahlee.org/p/Gullivers_Travels/gt1ch02.html
is there some easy way using css so that annotation are most of the
time just on the right side of the paragraph?
(i want to avoid using tables for each paragraph)
Thanks.
Xah
(e-mail address removed)
∑ http://xahlee.org/
left side about 60ex wide and the annotations are in a box on the right
side about 40ex wide.
the way i did this is so have like:
<p>...one paragraph of main text...[†1]...</p>
<div class="note">
†1 ...
</div>
where the class "note" floats right.
This all works well except when the paragraph is really long, in such a
case the annotation will be one screenful down.
For example, see second annotation at
http://xahlee.org/p/Gullivers_Travels/gt1ch02.html
is there some easy way using css so that annotation are most of the
time just on the right side of the paragraph?
(i want to avoid using tables for each paragraph)
Thanks.
Xah
(e-mail address removed)
∑ http://xahlee.org/