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 7632437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:37:31+00:00 2026-05-31T06:37:31+00:00

I have a HTML page where I have to display a popup (like tool

  • 0

I have a HTML page where I have to display a popup (like tool tip) on mouse over of an image. The below code is working fine in IE8 and Firefox, i have issue with IE6, the hover popup is not shown.

    STYLE:
    /* css style */
    .ToolTip { position: relative; cursor: default; text-decoration: none; border: none;}

    .ToolTip a span {display: none; text-decoration: none; color: #FFFFFF; }

    .ToolTip a:hover span { overflow:hidden; text-decoration: none; display: block;
     position: absolute; width: 250px; background-color: #046C08; border: none; height: 90px;
     left: 25px; top: -10px; color: #FFFFFF; padding: 5px; line-height: 18px; z-index: 1; }

    HTML:

/* html page content */

    <p class="ToolTip">
        <a href="#">
            <img src="...." alt="" style="border: 0px;" />
     <span>
                 CSS Popup..
     </span>
        </a>
    </p>

any idea please?
thanks in advance

  • 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-31T06:37:32+00:00Added an answer on May 31, 2026 at 6:37 am

    As Happy Singh stated, most sites do not support IE6 compatibility anymore. However, how you could try to fix it:

    You have many parameters in your stylesheet, did you use all of them on purpose or did you just try to add more and more to make it possibly work?

    E.g. look at:

    .ToolTip a span {display: none; text-decoration: none; color: #FFFFFF;
    }

    You do not need to declare the color and text-decoration here, as if you have already set display:none, the element should not be shown anyway. Btw, you declare the same color in the :hover state, so it would be double anyway too.

    As the code you have posted is only a part of the whole code, I can also just guess, but some hints if we look at:

    .ToolTip a:hover span { overflow:hidden; text-decoration: none; display: block;
    position: absolute; width: 250px; background-color: #046C08; border: none; height: 90px;
    left: 25px; top: -10px; color: #FFFFFF; padding: 5px; line-height: 18px; z-index: 1; }

    Like said, there is no need for overflow:hidden. This would simply hide the text in your span element, if it was longer than the 250px width and/or 90px height. But it is of no matter to your question.

    However, what you may not be so clever, because you do not declare any position to the span element when it is not hovered, but in state is hovered, you suddenly add position etc. What I mean is, if you just changed the visibility or display, the span element would not change the position.

    So…

    Display:block can be interpreted strangely sometimes. Position:absolute – here we go: have you positioned the span-element above the image? Or outside the page (probably not completely, it may be too large for that). If you have it positioned behind the image, you could try to change top, left and z-index. If you change the z-index, you should try to assign a z-index to the image as well or remove both z-index values. If you assign z-index, try to set a huge difference between the two values, or one positive and one negative.

    All in all, try always to start with the minimum parameters necessary for each element. Then add what you really need. Try to set all parameters to the span element separately, and change only the display.

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

Sidebar

Related Questions

I have an html page with a link like this: <a href=javascript:window.print()>Print QR code</a>
I have the following CSS on my HTML page: <style type=text/css> .hidden {display:none;} .visible
I have a html page that allows users to submit a file. Below is
I have an html page that open a popup window when the page loads.
I have an html page. On that page I want to open popup window.
i have a page that displays large datasets into html tables. how can i
I have HTML page where windows media player is embedded. It works very well
I have HTML page with some HTML element with ID=logo . I need to
How to find all files in directory? I have HTML page in some directory.
I have an html page called search.html which contains sliders, they work perfectly in

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.