Problem mit Tooltip

Status
Nicht offen für weitere Antworten.

Geflügel

Erfahrenes Mitglied
Hallo,

warum wird mein Tooltip nicht angezeigt? :confused:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>n/a</title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<style type="text/css" media="screen, projection, handheld">
	/*<![CDATA[*/
		a:hover div.tooltip
		{
			display: inline;
		}
		div.tooltip
		{
			background-color: #ffffcc;
			border: 1px solid #cccc99;

			display: none;
			float: left;
		}
	/*]]>*/
	</style>
</head>
<body>

	<a href="#">
		irgendwas
		<div class="tooltip">

			Dies soll ein Tooltip sein.
		</div>
	</div>

</body>
</html>

Danke im Voraus!
 
Status
Nicht offen für weitere Antworten.
Zurück