>I think the problem may be that those notes may themselves contain
> block-level structures that won't fit into HTML <span>.
In that case, it's either divs all the way down, spans all the way down, or an arbitrary point at which you move from divs to spans, and then check the ancestry in every template to see whether you've passed that point.
From: TEI (Text Encoding Initiative) public discussion list [[log in to unmask]] on behalf of Peter Gorman [[log in to unmask]]
Sent: October 29, 2014 7:55 AM
To: [log in to unmask]
Subject: Re: html from TEI, technical question about marginal notes
I think the problem may be that those notes may themselves contain block-level structures that won't fit into HTML <span>.
Peter C. Gorman
University of Wisconsin-Madison General Library System
[log in to unmask]
On Oct 29, 2014, at 9:51 AM, Martin Holmes wrote:
> Hi Sebastian,
> There's no reason, surely, that you can't create a span with display: block and float: right? I do that all the time. Another option for positioning is not to float, but to set it as position: absolute, specify a width, and right: 2em or something like that, so the thing appears as a block next to the right edge.