Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Lex: Difference between revisions

Template page
m Rewrite. Remove the bottom border. Remove the self-linking. Remove the white-space: pre-wrap. Change span with display: inline-block to div.
Change to flex container. Use relative unit for width.
Line 1: Line 1:
<includeonly>
<includeonly>
<div id="{{{1}}}" style="position: relative; padding: 2px;">
<div id="{{{1}}}" style="display: flex;">
  <div style="position: absolute; width: 135px; color: coral;">{{{1}}}</div>
  <div style="width: 7.5em; padding: 2px; color: coral;">{{{1}}}</div>
  <div style="position: relative; margin-left: 139px;">{{{2}}}</div><!-- margin-left: = padding: containing div + width: first div + 2px -->
  <div style="padding: 2px;">{{{2}}}</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>