Template:Tooltip: Difference between revisions

m
Hopefullyl fixed...added 'Shift left' property. This should be approximately 1/2 of the width passed in.
No edit summary
m (Hopefullyl fixed...added 'Shift left' property. This should be approximately 1/2 of the width passed in.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="tooltip">{{{Hover words|}}} <span class="tooltiptext" style="width:{{{Width|}}}; margin-left:-{{{Shift left|}}};">{{{Words in popup|}}}</span></span><noinclude>
<span class="tooltip" style="border-bottom: 1px dotted black; text-decoration: none;">{{{Hover words|}}} <span class="tooltiptext" style="width:{{{Width|}}}; margin-left:-{{{Shift left|}}};">{{{Words in popup|}}}</span></span> <noinclude>
This template will create a popup box tooltip when the user hovers over 'Hover words', which will be underlined.  The following is an example of what the call to this template should look like:<br><br>
This template will create a popup box tooltip when the user hovers over 'Hover words', which will be underlined.  The following is an example of what the call to this template should look like:<br><br>
  <nowiki>
  <nowiki>
2,664

edits