Whan studying and testing code for lateral notes from suggestions into
fr.source, I noted that the code is extremely simplified simply stating
width of our div class="testi" (used for the large majority of texts in Ns0)
as* width:45%* instead of *width:33em*.

All the code needed for a right lateral note, with a main div *width:45%*,
is:

<span style="position:absolute; left:74%; width:13%; text-align:left;
text-indent:0em; line-height:110%"><small>{{{1|test}}}</small></span>

where param 1 is the text of the note, with no need of additional templates.


My question is: is there any drawback using *percent *value for a div width
instead of *em* unit? I can't find any so far.

Alex
_______________________________________________
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l

Reply via email to