<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sura 1.at &#187; CSS Tooltips</title>
	<atom:link href="http://www.sura1.at/wordpress/category/css-tooltips/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sura1.at/wordpress</link>
	<description>Webdesign, Internet und Online-Themen, die interessieren</description>
	<lastBuildDate>Tue, 23 Feb 2010 10:36:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS Tooltip mit vertikaler Navigation &#8211; CSS Vertical Navigation with Teaser</title>
		<link>http://www.sura1.at/wordpress/css-tooltip-mit-vertikaler-navigation-css-vertical-navigation-with-teaser/ </link>
		<comments>http://www.sura1.at/wordpress/css-tooltip-mit-vertikaler-navigation-css-vertical-navigation-with-teaser/ #comments</comments>
		<pubDate>Sat, 25 Jul 2009 15:14:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Tooltips]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Vertical Navigation]]></category>
		<category><![CDATA[CSS-Navigation]]></category>
		<category><![CDATA[Hover-Effekt]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Hyperlinks]]></category>
		<category><![CDATA[Infobox]]></category>
		<category><![CDATA[li-tag]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Listenelemente]]></category>
		<category><![CDATA[Quellcode]]></category>
		<category><![CDATA[span-tag]]></category>
		<category><![CDATA[Teaser]]></category>
		<category><![CDATA[Tooltipps]]></category>
		<category><![CDATA[ungeordnete Liste]]></category>
		<category><![CDATA[vertikale Navigation]]></category>

		<guid isPermaLink="false">http://www.sura1.at/wordpress/?p=4752</guid>
		<description><![CDATA[
Die Technik, in eine vertikale CSS-Navigation eine Infobox (Tooltip, Teaser) einzubauen, erlaubt Ihnen auf einfache Art und Weise, nähere Informationen zu den jeweiligen Menüpunkten anzuzeigen.
Fertiges Beispiel ansehen [Menü anklicken!]

Aufbau des Beispieles:
Ich starte im Quellcode mit einer einfachen ungeordneten Liste. In die Listen-Tags werden Hyperlinks eingebaut und innerhalb dieser werden span-Tags eingefügt. Im Beispiel-Code sind nur [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-full wp-image-4753" style="margin: 0 0 10px 0;" title="vertical-teaser" src="http://www.sura1.at/wordpress/wp-content/uploads/vertical-teaser.png" alt="vertical-teaser" width="580" height="68" /></p>
<p>Die Technik, in eine <strong>vertikale CSS-Navigation eine Infobox (Tooltip, Teaser)</strong> einzubauen, erlaubt Ihnen auf einfache Art und Weise, nähere <strong>Informationen zu den jeweiligen Menüpunkten</strong> anzuzeigen.</p>
<h3 style="margin: 10px 0pt; text-align: center;">Fertiges Beispiel ansehen [Menü anklicken!]</h3>
<p style="text-align: center;"><a href="http://sura1.at/vert_nav_teaser/blue.html" target="_blank"><img class="size-full wp-image-4754 aligncenter" style="margin:10px 0 -5px 0;" title="http://sura1.at/vert_nav_teaser/blue.html" src="http://www.sura1.at/wordpress/wp-content/uploads/vert_nav_teaser_blue.jpg" alt="vert_nav_teaser_blue" width="229" height="374" /></a></p>
<h3 style="margin: 10px 0pt; text-align: center;">Aufbau des Beispieles:</h3>
<p>Ich starte im <strong>Quellcode mit einer einfachen ungeordneten Liste</strong>. In die <strong>Listen-Tags werden Hyperlinks eingebaut</strong> und innerhalb dieser werden <strong>span-Tags eingefügt</strong>. Im Beispiel-Code sind nur die ersten 3 Punkte der vertikalen Navigation angeführt.</p>
<h3>HTML</h3>
<div style="width: 585px;">

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">&lt;ul class<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;sidenav&quot;</span><span style="color: #00AA00;">&gt;</span>
	&lt;li<span style="color: #00AA00;">&gt;</span>
&lt;a href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #00AA00;">&gt;</span>Home
&lt;span<span style="color: #00AA00;">&gt;</span>Blandit turpis patria euismod at iaceo appellatio<span style="color: #00AA00;">,</span> demoveo esse.
Tation utrum utrum abigo demoveo immitto aliquam sino aliquip. &lt;/span<span style="color: #00AA00;">&gt;</span>
&lt;/a<span style="color: #00AA00;">&gt;</span>&lt;/li<span style="color: #00AA00;">&gt;</span>
	&lt;li<span style="color: #00AA00;">&gt;</span>
&lt;a href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #00AA00;">&gt;</span>Blog
&lt;span<span style="color: #00AA00;">&gt;</span>Blandit turpis patria euismod at iaceo appellatio<span style="color: #00AA00;">,</span> demoveo esse.
Tation utrum utrum abigo demoveo immitto aliquam sino aliquip. &lt;/span<span style="color: #00AA00;">&gt;</span>
&lt;/a<span style="color: #00AA00;">&gt;</span>&lt;/li<span style="color: #00AA00;">&gt;</span>
	&lt;li<span style="color: #00AA00;">&gt;</span>
&lt;a href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #00AA00;">&gt;</span>Tutorials
&lt;span<span style="color: #00AA00;">&gt;</span>Blandit turpis patria euismod at iaceo appellatio<span style="color: #00AA00;">,</span> demoveo esse.
Tation utrum utrum abigo demoveo immitto aliquam sino aliquip. &lt;/span<span style="color: #00AA00;">&gt;</span>
&lt;/a<span style="color: #00AA00;">&gt;</span>&lt;/li<span style="color: #00AA00;">&gt;</span>
&lt;/ul<span style="color: #00AA00;">&gt;</span></pre></td></tr></table></div>

</div>
<h3>Das Stylesheet (CSS) für die vertikale Navigation sieht wie folgt aus:</h3>
<p style="text-align: center;"><strong>Zuerst werden die Listenelemente für die vertikale Navigation formatiert</strong></p>
<div style="width: 585px;">

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">ul<span style="color: #6666ff;">.sidenav</span> <span style="color: #00AA00;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.2em</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#005094</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#3373a9</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#003867</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
ul<span style="color: #6666ff;">.sidenav</span> li a<span style="color: #00AA00;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">155px</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">35px</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">sidenav_a.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #933;">5px</span> <span style="color: #933;">7px</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#3373a9</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#003867</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

</div>
<p><strong>Die vertikale Navigation sieht danach wie folgt aus:</strong></p>
<p><img class="size-full wp-image-4769 aligncenter" style="margin: 10px 0;" title="vert_nav_blue" src="http://www.sura1.at/wordpress/wp-content/uploads/vert_nav_blue.jpg" alt="vert_nav_blue" width="224" height="127" /><br />
Als nächstes wird der <strong>hide/show-Effekt</strong> hinzugefügt. Wenn Sie <strong>danach mit der Maus über die Hpyerlinks fahren</strong>, bewirkt der <strong>Hover-Effekt das Öffnen der Infobox</strong> mit den zusätzlichen Infos.</p>
<div style="width: 585px;">

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">ul<span style="color: #6666ff;">.sidenav</span> li a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#003867</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">sidenav_a.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #933;">5px</span> <span style="color: #933;">7px</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#1a4c76</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
ul<span style="color: #6666ff;">.sidenav</span> li span<span style="color: #00AA00;">&#123;</span>     <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
ul<span style="color: #6666ff;">.sidenav</span> li a<span style="color: #3333ff;">:hover </span>span <span style="color: #00AA00;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.8em</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

</div>
<h3>Endergebnis: Vertikale Navigation mit Tooltip/Teaser:</h3>
<p><a href="http://sura1.at/vert_nav_teaser/blue.html" target="_blank"><img class="size-full wp-image-4754 aligncenter" style="margin:10px 0 -5px 0;" title="http://sura1.at/vert_nav_teaser/blue.html" src="http://www.sura1.at/wordpress/wp-content/uploads/vert_nav_teaser_blue.jpg" alt="vert_nav_teaser_blue" width="229" height="374" /></a></p>
<h3>Abschließende Bemerkung:</h3>
<p>Sie können die oben beschriebene Technik <strong>nicht nur in einer vertikalen Navigation</strong>, sondern <strong>nach entsprechender Modifikation</strong> auch in <strong>allen anderen Elementen</strong> Ihrer Webseite einsetzen (<strong>z.B.: Links im Fließtext, Überschriften, Profile etc.</strong>).<br />
<strong>Zusätzlich zum Original  habe ich auch eine Variante in grüner Farbe erstellt.</strong></p>
<h3 style="margin: 10px 0pt; padding: 5px; color: #ffffff; background-color: #7f9a42; text-align: center;">Variante 2 (grün) und Variante 1 (blau) ansehen [jeweils Grafik anklicken!]</h3>
<p style="text-align: center;"><a href="http://sura1.at/vert_nav_teaser/green.html" target="_blank"><img class="alignnone size-full wp-image-4778" style="margin:10px 0 -5px 0" title="http://sura1.at/vert_nav_teaser/green.html" src="http://www.sura1.at/wordpress/wp-content/uploads/vertnav_teaser_green.jpg" alt="vertnav_teaser_green" width="150" height="118" /></a> <a href="http://sura1.at/vert_nav_teaser/blue.html" target="_blank"><img class="alignnone size-full wp-image-4779" style="margin:10px 0 -5px 0" title="http://sura1.at/vert_nav_teaser/blue.html" src="http://www.sura1.at/wordpress/wp-content/uploads/vertnav_teaser_blue.jpg" alt="vertnav_teaser_blue" width="150" height="118" /></a></p>
<h3 style="margin: 10px 0pt; padding: 5px; color: #ffffff; background-color: #7f9a42; text-align: center;">Beide Beispiele zusammen als *Zip-Datei (7,5KB) downloaden [Download-Grafik anklicken!]</h3>
<p style="text-align: center;"><a href="http://cid-4961f4e8bffc2861.skydrive.live.com/self.aspx/%c3%96ffentlich/vert%7C_nav%7C_teaser.zip" target="_blank"><img class="alignnone size-full wp-image-4790" style="margin: 10px 0 -5px 0;" title="http://cid-4961f4e8bffc2861.skydrive.live.com/self.aspx/%c3%96ffentlich/vert%7C_nav%7C_teaser.zip" src="http://www.sura1.at/wordpress/wp-content/uploads/vertnav_teaser_green1-horz.jpg" alt="vertnav_teaser_green1-horz" width="303" height="118" /></a></p>
<h3>Den Originalartikel zu diesem Blogbeitrag finden Sie hier:</h3>
<p><a href="http://www.sohtanaka.com/web-design/css-vertical-navigation-with-teaser/" target="_blank"><img class="size-full wp-image-4801 alignnone" style="margin:5px 0 -5px 0; alt=" title="http://www.sohtanaka.com/web-design/css-vertical-navigation-with-teaser/" src="http://www.sura1.at/wordpress/wp-content/uploads/sohtanka.png" alt="" width="356" height="184" /></a><br />
<strong>Link: <a href="http://www.sohtanaka.com/web-design/css-vertical-navigation-with-teaser/" target="_blank">www.sohtanaka.com</a></strong></p>
<blockquote>
<h3>Ähnliche Artikel:</h3>
<p><a href="http://www.sura1.at/wordpress/css-tooltips-erstellen-%E2%80%93-infoboxen-uber-html-elementen/">CSS Tooltips erstellen – Infoboxen über HTML-Elementen</a><br />
<a href="http://www.sura1.at/wordpress/css-tricks-mit-inner-border-images-rahmen-um-grafiken-von-chris-coyier/">CSS Tricks mit Inner Border Images (Rahmen um Grafiken) von Chris Coyier</a><br />
<a href="http://www.sura1.at/wordpress/multiple-remote-linking-anleitung-und-2-beispiele/">Multiple Remote Linking: Anleitung und 2 Beispiele</a><br />
<a href="http://www.sura1.at/wordpress/webseiten-uberschriften-mit-css-als-elegante-hingucker/">Webseiten-Überschriften mit CSS als elegante Hingucker</a>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sura1.at/wordpress/css-tooltip-mit-vertikaler-navigation-css-vertical-navigation-with-teaser/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Tooltips erstellen – Infoboxen über HTML-Elementen</title>
		<link>http://www.sura1.at/wordpress/css-tooltips-erstellen-%e2%80%93-infoboxen-uber-html-elementen/ </link>
		<comments>http://www.sura1.at/wordpress/css-tooltips-erstellen-%e2%80%93-infoboxen-uber-html-elementen/ #comments</comments>
		<pubDate>Tue, 12 May 2009 19:30:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Tooltips]]></category>
		<category><![CDATA[a:hover]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Globe]]></category>
		<category><![CDATA[CSS Tooltip]]></category>
		<category><![CDATA[CSS-Beispiele]]></category>
		<category><![CDATA[CSS-Übung]]></category>
		<category><![CDATA[CSS4You]]></category>
		<category><![CDATA[Easy CSS Tooltip]]></category>
		<category><![CDATA[Hover]]></category>
		<category><![CDATA[Hover-Box]]></category>
		<category><![CDATA[Hovereffekte]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML-Element]]></category>
		<category><![CDATA[Hyperlink]]></category>
		<category><![CDATA[Kollermedia.at]]></category>
		<category><![CDATA[Kurzinfo]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Link]]></category>
		<category><![CDATA[margin]]></category>
		<category><![CDATA[Mauszeiger]]></category>
		<category><![CDATA[Quickinfo]]></category>
		<category><![CDATA[Tooltips]]></category>

		<guid isPermaLink="false">http://www.sura1.at/wordpress/?p=1207</guid>
		<description><![CDATA[Ich habe mich im Web nach Tooltips umgesehen, die nur mit Hilfe von CSS errichtet werden können. Es gibt davon eine unübersichtliche Fülle  &#8211; ich möchte Ihnen heute 2 einfache Beispiele vorstellen.
 
Erklärung des Begriffes Tooltip:
Ein Tooltip (auch »Quickinfo«, »Kurzinfo«; sinngemäß übersetzt: Hilfe zu einem Werkzeug) ist ein kleines Fenster, das dem Benutzer weitere Informationen zu [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe mich im Web nach Tooltips umgesehen, die nur mit Hilfe von CSS errichtet werden können. Es gibt davon eine unübersichtliche Fülle  &#8211; ich möchte Ihnen heute 2 einfache Beispiele vorstellen.<br />
<a href="http://sura1.at/2-css-tooltips/easy-tooltip.html" target="_blank"><img class="alignnone size-full wp-image-1254" style="margin:10px 0 0 0;padding:0;" title="beispiel1" src="http://www.sura1.at/wordpress/wp-content/uploads/beispiel1.png" alt="beispiel1" width="119" height="39" /></a> <a href="http://sura1.at/2-css-tooltips/tooltip.html" target="_blank"><img class="alignnone size-full wp-image-1255" style="margin:10px 0 0 0;padding:0;" title="beispiel2" src="http://www.sura1.at/wordpress/wp-content/uploads/beispiel2.png" alt="beispiel2" width="119" height="39" /></a></p>
<h3>Erklärung des Begriffes Tooltip:</h3>
<p>Ein <strong>Tooltip</strong> (auch <strong>»Quickinfo«</strong>, <strong>»Kurzinfo«</strong>; sinngemäß übersetzt: Hilfe zu einem Werkzeug) ist ein kleines Fenster, das dem Benutzer weitere Informationen zu einem Objekt anzeigt. Es wird in Browsern beispielsweise  zur Beschreibung von Links verwendet und erscheint, wenn der <strong>Mauszeiger</strong> eine gewisse Zeit über dem entsprechenden Objekt verbleibt.</p>
<p><strong>Aufbau der CSS-Tooltips:</strong></p>
<p>Innerhalb eines Hyperlinks wird das HTML-Element <strong>&lt;span&gt;&#8230;..&lt;/span&gt;</strong> eingesetzt und mit dem    Infotext  für den Tooltip aufgefüllt.</p>
<p><strong style="background-color: #7f9a42; padding: 3px; color: #fff;">&lt;a  href=&#8221;#&#8221;&gt;Linktext&lt;span&gt;Infotext für den CSS-Tooltip&lt;/span&gt;&lt;/a&gt;</strong></p>
<p>Danach erhält das span-Element je nach Beispiel eine eigene CSS-Formatierung. Wenn Sie mit der Maus über den Link fahren, erscheint nach der Fertigstellung Ihr CSS Tooltip.</p>
<p style="text-align: center;"><strong>Tooltips &#8211; Grafik</strong></p>
<p style="text-align: center;"><img class="size-full wp-image-1224 aligncenter" style="border: 1px solid black;" title="tooltip" src="http://www.sura1.at/wordpress/wp-content/uploads/tooltip2-tile.jpg" alt="tooltip2-tile" width="529" height="111" /></p>
<h1 style="margin: 20px 0;"><span style="background-color: #3d3d3c; padding: 3px 6px; color: #c0eb15;">Beispiel 1: Easy CSS Tooltip</span></h1>
<p>HTML:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">Easy &lt;a class<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;tooltip&quot;</span> href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #00AA00;">&gt;</span>Tooltip&lt;span<span style="color: #00AA00;">&gt;</span>This is the crazy little Easy Tooltip Text.&lt;/span<span style="color: #00AA00;">&gt;</span>&lt;/a<span style="color: #00AA00;">&gt;</span>.</pre></td></tr></table></div>

<p>CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* ======================================
   1. Kalibrierung, allgemeine Styles und
      Formatierung Layout-Bereich
   ====================================== */</span>
&nbsp;
<span style="color: #00AA00;">*</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Verdana</span><span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">11px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#wrapper</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">600px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>border<span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#cccccc</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* =============================
   2. Styles für den CSS Tooltip
   ============================= */</span>
a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#ffffff</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span> <span style="color: #808080; font-style: italic;">/*BG color is a must for IE6*/</span>
a<span style="color: #6666ff;">.tooltip</span> span <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">8px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">130px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.tooltip</span><span style="color: #3333ff;">:hover </span>span<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#cccccc</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#ffffff</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#6c6c6c</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>

<div style="margin:0 0 30px 0;">
<h3>Fertiges Beispiel: (*zip*Datei: 1,5KB)</h3>
<p><a href="http://sura1.at/2-css-tooltips/easy-tooltip.html" target="_blank"><img class="alignleft size-full wp-image-709" style="margin-left:0;padding:0;" title="http://sura1.at/2-css-tooltips/easy-tooltip.html" src="http://www.sura1.at/wordpress/wp-content/uploads/demo2.png" alt="demo2 Zitate mit CSS gestalten   Styling Blockquotes" width="108" height="27" /></a> <a href="http://cid-4961f4e8bffc2861.skydrive.live.com/self.aspx/%c3%96ffentlich/easy-tooltip.zip" target="_blank"><img class="alignleft size-full wp-image-710" style="margin-left:0;padding:0;" title="download" src="http://www.sura1.at/wordpress/wp-content/uploads/download2.png" alt="download2 Zitate mit CSS gestalten   Styling Blockquotes" width="108" height="27" /></a></div>
<p><strong>Original gefunden unter:</strong><br />
<strong><a href="http://www.kollermedia.at/archive/2008/03/24/easy-css-tooltip/" target="_blank">http://www.kollermedia.at/archive/2008/03/24/easy-css-tooltip/</a></strong></p>
<h1 style="margin: 20px 0;"><span style="background-color: #3d3d3c; padding: 3px 6px; color: #c0eb15;">Beispiel 2: CSS Tooltip</span></h1>
<p>HTML:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">In &lt;a href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;http://sura1.at/&quot;</span><span style="color: #00AA00;">&gt;</span>Roll over here&lt;span<span style="color: #00AA00;">&gt;</span>Css Tooltip von Sura1.at&lt;/span<span style="color: #00AA00;">&gt;</span>&lt;/a<span style="color: #00AA00;">&gt;,</span> mollis vel.....</pre></td></tr></table></div>

<p>CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* Formatierung CSS Tooltip */</span>
   a<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">10</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
   a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
            <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">100</span><span style="color: #00AA00;">;</span>
          <span style="color: #00AA00;">&#125;</span>
   a span <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
   a<span style="color: #3333ff;">:hover </span>span <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span><span style="color: #993333;">nowrap</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">top</span><span style="color: #3333ff;">:-2</span><span style="color: #933;">.2em</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">.5em</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fffcd1</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#444</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#444</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">10</span><span style="color: #00AA00;">;</span>
               <span style="color: #00AA00;">&#125;</span></pre></div></div>

<div style="margin:0 0 30px 0;">
<h3>Fertiges Beispiel: (*zip*Datei: 1,5KB)</h3>
<p><a href="http://sura1.at/2-css-tooltips/tooltip.html" target="_blank"><img class="alignleft size-full wp-image-709" style="margin-left:0;padding:0;" title="http://sura1.at/2-css-tooltips/tooltip.html" src="http://www.sura1.at/wordpress/wp-content/uploads/demo2.png" alt="demo2 Zitate mit CSS gestalten   Styling Blockquotes" width="108" height="27" /></a> <a href="http://cid-4961f4e8bffc2861.skydrive.live.com/self.aspx/%c3%96ffentlich/tooltip1.zip" target="_blank"><img class="alignleft size-full wp-image-710" style="margin-left:0;padding:0;" title="download" src="http://www.sura1.at/wordpress/wp-content/uploads/download2.png" alt="download2 Zitate mit CSS gestalten   Styling Blockquotes" width="108" height="27" /></a></div>
<p><strong>Original gefunden unter:</strong><br />
<strong><a href="http://cssglobe.com/post/1614/4-uber-cool-css-techniques-for-links" target="_blank">http://cssglobe.com/post/1614/4-uber-cool-css-techniques-for-links</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sura1.at/wordpress/css-tooltips-erstellen-%e2%80%93-infoboxen-uber-html-elementen/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
