Skip to content

Instantly share code, notes, and snippets.

@gpassarelli
Created March 20, 2012 12:44
Show Gist options
  • Save gpassarelli/2134886 to your computer and use it in GitHub Desktop.
Save gpassarelli/2134886 to your computer and use it in GitHub Desktop.
CSS: CSS Tooltips
a:hover {
background:#ffffff;
text-decoration:none;} /*BG color is a must for IE6*/
a.tooltip span {
display:none;
padding:2px 3px;
margin-left:8px;
width:130px;
}
a.tooltip:hover span{
display:inline;
position:absolute;
background:#ffffff;
border:1px solid #cccccc;
color:#6c6c6c;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment