CSS Tooltip Problem...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eMonk
    Confirmed User
    • Aug 2003
    • 2310

    #1

    CSS Tooltip Problem...

    Screenshot from Internet Explorer 7


    - tooltip displays behind thumbs, why isn't it showing up infront like firefox?

    Screenshot from Firefox 2


    - tooltip displays infront of thumbs, but why is it position down further?

    Code:
    a.tip {
    	position: relative;
    }
    
    a.tip span {
    	display: none;
    	position: absolute;
    	top: 95px;
    	left: -17px;
    	width: 125px;
    	padding: 5px;
    	z-index: 100;
    	background: #000000;
    	text-align: center;
    	color: #FFFFFF;
    	-moz-border-radius: 5px; /* this works only in camino/firefox */
    	-webkit-border-radius: 5px; /* this is just for Safari */
    }
    
    a:hover.tip {
    	font-size: 99%; /* this is just for IE */
    }
    
    a:hover.tip span {
    	display: block;
    }
    any ideas?
  • leek
    Confirmed User
    • May 2008
    • 342

    #2
    Link us to the page with this on it.

    Comment

    • eMonk
      Confirmed User
      • Aug 2003
      • 2310

      #3
      Here's a working example : http://www.munkgalleries.com/css/tooltip/example.php

      z-index is set to "100" so it *should* be displaying ontop of everything else like firefox. i'm not using a z-index greater then 100...

      Comment

      • eMonk
        Confirmed User
        • Aug 2003
        • 2310

        #4
        nevermind, found a different working code... thx

        Comment

        • fris
          Too lazy to set a custom title
          • Aug 2002
          • 55679

          #5
          http://www.nickstakenburg.com/projects/prototip2/
          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

          Comment

          • mrkris
            Confirmed User
            • May 2005
            • 2737

            #6
            Mmm prototype.

            PHP-MySQL-Rails | ICQ: 342500546

            Comment

            Working...