By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,724 Members | 1,655 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,724 IT Pros & Developers. It's quick & easy.

problem with tooltip

P: n/a
Hai,

I have one doubt regarding tooltip using css.The statement
"display:block ! important" is working finely in IE7 and firefox. But
not working with IE6.

css code is

..tooltipInner {
margin:2px;
font-size:8pt;
vertical-align:top;
}
#tooltip .toolbox a:hover span {

display:block ! important ;
white-space: pre;
border: solid #000000 1px;
color:
black;
position: absolute;
font-family: tahoma;
background-color : #FFFFFF;
}

and the span class is

<span id="tooltip" >
<span class="toolbox" style="z-index:21">
<a style="position:relative;z-index:21;cursor:hand" >
<img src="/images/abc.gif" /><span
style="display:none; left: 30px; top: 5px; margin-left:20px">
<div class="tooltipInner" >Tool tip Content</
div></span></a>
</span>
</span>
Can any one help me to solve this problem.

Thanks,
Vidya.

Feb 13 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Scripsit vidya:
I have one doubt regarding tooltip using css.
Please post the URL, instead of code snippets. And it does not hurt to
validate your markup before asking for help in public.
The statement
"display:block ! important" is working finely in IE7 and firefox. But
not working with IE6.
Please supply your observations, not assumptions. What goes wrong in your
opinion?

(If you knew what really causes the symptoms, which you don't describe at
all, by the way, you would effectively have almost solved the problem.
Knowing what the problem really is at the technical level, in detail, is
more than 90 % of solving problems in IT matters.)
font-size:8pt;
Tooltips are supposed to give clues, not to exhibit the author's
cluelessness.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Feb 13 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.