Vorlage:Inline-Tooltip: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
K (Kat verjessen)
K (ein "div" zuviel , Zeilenabstand korrigiert, sonst siehts so geklebt aus)
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: 300px; margin-top:15px; line-height:100%; white-space:normal;"><div style="padding:5px;">{{{2|Irgendein Blödeltext...}}}</div><center><div style="border: 2px threedshadow; border-style:outset; background-color:buttonface; height:17px; width:97%; margin-bottom: 3px;">Ausblenden</div></center></div>
+
<div style="border: 1px black solid; background-color:{{{3|#FFFF99}}}; position:absolute; left:-20px; width: 350px; margin-top:15px; padding:5px; padding-bottom:0px; white-space:normal;">{{{2|Irgendein Blödeltext...}}}<center><div style="border: 2px threedshadow; border-style:outset; background-color:buttonface; height:17px; width:97%; margin-bottom: 3px; margin-top:5px;">Ausblenden</div></center></div>
 
</div>
 
</div>
 
</div>
 
</div>

Version vom 5. Juni 2008, 01:52 Uhr

Linktext

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: ZZ zeigt der IE 6/7 den Inlinetext 1px zu tief an, also mit Vorsicht geniessen.