Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6637681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:20:37+00:00 2026-05-25T23:20:37+00:00

Hello again dearest Experts, I am still having issues getting tooltips to work correctly.

  • 0

Hello again dearest Experts,
I am still having issues getting tooltips to work correctly.

The code below works correctly as far displaying the tooltips.

The big issue is that it expands the textbox, making other textboxes lose alignment.

What we would like to is to have the message in the tooltop hover on top of the textbox but not obscure it. This way, users can still type into it.

Can the code I have below be modified to help me accomplish this?

Many thanks.

THe css

<style type="text/css">
div.activeToolTip 
{
 display:block;
 visibility:visible;
 background-color:#A1D40A;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 0.75em;
 line-height: 1.50em;
 font-weight:bold;
 color: #fff;
 border:1px solid black;
 filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
 width:200px;
 height:70px;
}
div.idleToolTip 
{
 display:none;
 visibility:hidden;
}

Then textbox and tooltip.

 <asp:TableCell><asp:TextBox ID="instruct" onmouseover="document.getElementById('toolTipDiv').className='activeToolTip'" onmouseout="document.getElementById('toolTipDiv').className='idleToolTip'" runat="server" Width="75px"></asp:TextBox>
 <div id="toolTipDiv" class="idleToolTip">My instructions go here.</div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:20:38+00:00Added an answer on May 25, 2026 at 11:20 pm

    The key is to make your tooltip position: absolute. This way you’ll have exact control over where it appears and it won’t affect the layout of any other elements.

    The other thing you should do it put it in an element with position: relative set:

    <div class="relative">
        <input type="text" />
        <div id="toolTipDiv" class="idleToolTip">My instructions go here.</div>
    </div>
    

    This will create the coordinate system for it (i.e.: bottom: 20px will translate to 20px from the bottom of the relative parent):

    .relative {
        position: relative;
    }
    
    #toolTipDiv {
        position: absolute;
        bottom: 20px; 
        left: 0;
    
    }
    

    Here’s a demo of it in action.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello again dearest Experts, I have an ecommerce site at http://www.millenniumhealthproducts.com The site was
Hello again ladies and gents! OK, following on from my other question on ASP.NET
Hello again Stackoverflow people! Assume I have these words: smartphones, smartphone I want to
Hello I've runned in to a problem again that I can't solve on my
Hello again great knowledge masters of stackoverflow, once again the small coder apprentice tabaluga
Hello again stackoverflow... Once again I have a troublesome problem. I have a page
Given: myvar=Hello echo $myvar -> Shows Hello (fine so far) echo $myvar#world -> shows
I'm trying to get something like this: --------------------------------- | Hello world | Again |
Hello Again my fellow programmers out there, I'm designing and programming from scratch a
hello everyone it is me again! i've got few problems too. i am deveoping

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.