hi
i have been looking for a pure css tooltip, and came across this one:
its exactly what i want, but i don't know how to position the tooltip properly...Code:http://psacake.com/web/jl.asp
i want it to appear on the bottom-left side of the link, like this:
[---------------blank-----------][LINK]
[------------TOOLTIP-------------]
can someone please tell me how to position the tooltip like above??
thanks a lot!
Code:a.info{ position:relative; /*this is the key*/ z-index:24; background-color:#ccc; color:#000; text-decoration:none} a.info:hover{z-index:25; background-color:#ff0} a.info span{display: none} a.info:hover span{ /*the span will display just on :hover state*/ display:block; position:absolute; top:2em; left:2em; width:15em; border:1px solid #0cf; background-color:#cff; color:#000; text-align: center}



Reply With Quote

Bookmarks