User:Taka/standard.css

From Wikipedia, the free encyclopedia

Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.

/* start tooltip code  */
 
div.info {
  position:relative; /*required */
  z-index:24; /*required */
  background-color:yellow; /*use any color you like */
  cursor:help /*optional, or use another cursor */
}
 
div.info:hover {
  z-index:25; /*required */
  background-color:pink /*use any color you like */
}
 
div.info:hover div.urlexpansion {
  display:block; /*required */
  position:absolute; /*required */
  /*border and size specifications, change as you like */
  top:2em;
  left:2em;
  width:15em;
  /* colors, change as you like */
  border:1px solid #0cf;
  background-color:#cff;
  color:#000;
}
 
/* end tooltip code  */