Vorlage:Inline-Tooltip: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Änderungen für Safari-Jäger |
Und wie siehts aus? |
||
| Zeile 1: | Zeile 1: | ||
<span style="display:inline-block; vertical-align:text-bottom;"><table border="0" cellspacing="0" cellpadding="0" style="display:inline; vertical-align:text-bottom; line-height:16px; background-color:transparent; overflow:visible; white-space:nowrap;"><tr><td> | <noinclude>IIIIIIII Testlinie<br />IIII Inline-Test III</noinclude><span style="display:inline-block; vertical-align:text-bottom;"><table border="0" cellspacing="0" cellpadding="0" style="display:inline; vertical-align:text-bottom; line-height:16px; background-color:transparent; overflow:visible; white-space:nowrap;"><tr><td> | ||
<div class="klapp" style="background-color:transparent;"> | <div class="klapp" style="background-color:transparent;"> | ||
<!--------------------------------------------------------------> | <!--------------------------------------------------------------> | ||
| Zeile 7: | Zeile 7: | ||
<!--------------------------------------------------------------> | <!--------------------------------------------------------------> | ||
<div class="klapp_i" style="display:none;position:relative;"> | <div class="klapp_i" style="display:none;position:relative;"> | ||
<div style="border: 1px black solid; background-color:{{{3|#FFFF99}}}; position:absolute; left:-20px; width: | <div style="border: 1px black solid; background-color:{{{3|#FFFF99}}}; position:absolute; left:-20px; width: 250px; margin-top:15px; white-space:normal;"> | ||
</div> | <div style="position:absolute; top:0px; left:0px; height:19px; width:229px; background-color:buttonface; text-align:center; vertical-align:center; font-weight:bold;">{{{1|Linktext}}}</div> | ||
</div> | <div style="float:right; border:2px threedshadow; border-style:outset; background-color:buttonface; color:black; height:15px; width:17px; text-align:center; vertical-align:center; font-weight:bold;">X</div> | ||
</td></tr></table></span><noinclude> | <div style="margin-top:23px; margin-left:5px; margin-right:5px; margin-bottom:3px;">{{{2|Irgendein Blödeltext...}}}</div></div></div> | ||
</div></td></tr></table></span>III Inline-Test<br>IIIIIII Testlinie<br><noinclude> | |||
---- | ---- | ||
Diese Vorlage zaubert ein Kästchen mit variabler (!!) Hintergrundfarbe an die Stelle, wo sie eingesetzt wird (ohne Zeilenumbruch, also "inline".) Benutzung: <nowiki>{{</nowiki>{{SUBPAGENAME}}<nowiki>|Linktext|Einblendetext|Hintergrundfarbe (Default:#FFFF99)|Link-Farbe(Default:Blue)}}</nowiki><br /> | Diese Vorlage zaubert ein Kästchen mit variabler (!!) Hintergrundfarbe an die Stelle, wo sie eingesetzt wird (ohne Zeilenumbruch, also "inline".) Benutzung: <nowiki>{{</nowiki>{{SUBPAGENAME}}<nowiki>|Linktext|Einblendetext|Hintergrundfarbe (Default:#FFFF99)|Link-Farbe(Default:Blue)}}</nowiki><br /> | ||
'''Vorsicht:''' Nach dem <nowiki>{{</nowiki>{{SUBPAGENAME}}<nowiki>}}</nowiki> muss ein "nbsp" (falls ein Abstand gewünscht wird) anstatt " " eingefügt werden, IE6/7 lassen den sonst weg. | '''Vorsicht:''' Nach dem <nowiki>{{</nowiki>{{SUBPAGENAME}}<nowiki>}}</nowiki> muss ein "nbsp" (falls ein Abstand gewünscht wird) anstatt " " eingefügt werden, IE6/7 lassen den sonst weg. Safari zeigt den Inline-Text 1px zu hoch an. | ||
[[Kategorie:Vorlage]] | [[Kategorie:Vorlage]] | ||
<!----------------------Backup Ausblendbutton----------------------------- | |||
<div class="klapp_i" style="display:none;position:relative;"> | |||
<div style="border: 1px black solid; background-color:{{{3|#FFFF99}}}; position:absolute; left:-20px; width: 250px; margin-top:15px; white-space:normal;"> | |||
<div style="position:absolute; top:0px; left:0px; height:19px; width:229px; background-color:buttonface; text-align:center; vertical-align:center; font-weight:bold;"> </div> | |||
<div style="float:right; border:2px threedshadow; border-style:outset; background-color:buttonface; color:black; height:15px; width:17px; text-align:center; vertical-align:center; font-weight:bold;">X</div> | |||
<div style="margin-top:23px; margin-left:5px; margin-right:5px; margin-bottom:3px;">{{{2|Irgendein Blödeltext...}}}</div></div></div> | |||
-----------------------------------------------------------> | |||
</noinclude> | </noinclude> | ||
Version vom 8. Juni 2008, 00:41 Uhr
IIIIIIII Testlinie
IIII Inline-Test III
|
Linktext
|
III Inline-Test
IIIIIII Testlinie
Diese Vorlage zaubert ein Kästchen mit variabler (!!) Hintergrundfarbe an die Stelle, wo sie eingesetzt wird (ohne Zeilenumbruch, also "inline".) Benutzung: {{Inline-Tooltip|Linktext|Einblendetext|Hintergrundfarbe (Default:#FFFF99)|Link-Farbe(Default:Blue)}}
Vorsicht: Nach dem {{Inline-Tooltip}} muss ein "nbsp" (falls ein Abstand gewünscht wird) anstatt " " eingefügt werden, IE6/7 lassen den sonst weg. Safari zeigt den Inline-Text 1px zu hoch an.