Template:Tooltip: Difference between revisions

m
Reverted edits by Ahancey (talk) to last revision by Batsondl
m (Added margin-left)
m (Reverted edits by Ahancey (talk) to last revision by Batsondl)
Tag: Rollback
Line 1: Line 1:
{{#if: {{{Hover words|}}}|
{{#if: {{{Hover words|}}}|
<div class="tooltip"><u style="border-bottom: 1px dotted black; text-decoration: none;">{{{Hover words}}}</u>
<div class="tooltip"><u style="border-bottom: 1px dotted black; text-decoration: none;">{{{Hover words}}}</u>
<span class="tooltiptext" style=" width:{{{Width}}}; margin-left:{{#expr:-{{{Width}}}/2}}px;">{{{Words in popup}}}</span>
<span class="tooltiptext" style=" width:{{{Width}}};">{{{Words in popup}}}</span>
</div>
</div>
}}
}}
2,664

edits