you missed a bunch of the css code. The code for the span, etc needs to also be in the CSS.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive">
<title>Untitled Page</title>
<style type="text/css" media="screen"><!--
/*
=================================
start of Tooltip css code here
================================= */
a.info{
position:relative; /*this is the key*/
z-index:24;
background-color:#e0e0e0; /* background colour of display text */
color:#000000; /* colour of display text */
border:1px dotted #999; /* border colour */
text-decoration:none;
font-style:italic;
}
a.info:hover {
z-index:25;
background-color:#ffff66;
}
a.info span{
display: none; /* hide the span text using this css */
}
a.info:hover span{ /*the span will display just on :hover state*/
display:block;
position:absolute;
top: 1.5em;
left: 3em;
width:15em;
border:1px solid #ff0000; /* border colour */
background-color:#ffff99; /* background colour here */
color:#000000; /* text colour */
text-align: center;
font-size: .8em;
font-style:italic;
z-index:30;
}
.images {
vertical-align:bottom;
}
--></style>
</head>
<body bgcolor="#ffffff">
<p><a class="info" href="#">display text<span>Tool Tip Text Here</span></a></p>
</body>
</html>
code is based on your Demo page, but I removed the second link.
check it out.
My signature goes here --> X