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

  • Home
  • SEARCH
  • 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 6191957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:51:35+00:00 2026-05-24T02:51:35+00:00

I have the following CSS for a div element: .tooltip { padding: .8em; width:

  • 0

I have the following CSS for a div element:

.tooltip 
{
    padding: .8em;  
    width: 12em; background:#999;  
    border-width: 2px !important;  
    border-color:#999;    
    position:absolute;
}  
.tooltip .pointer, .tooltip .inner-pointer   
{
    position:absolute;
    width:0;  
    height:0;  
    border-bottom-width: 0;  
    background: none;  
}  
.tooltip .pointer {  
    border-left: 7px solid transparent;  
    border-right: 7px solid transparent;  
    border-top: 14px solid #999;  
    bottom:    -14px;  
    right: auto;  
    left: 5%;  
    margin-left: -7px;  
}  
.tooltip .inner-pointer {  
    border-left: 5px solid transparent;  
    border-right: 5px solid transparent;  
    border-top: 5px solid #999;  
    bottom: auto;  
    top: -14px;  
    left: -5px;  
}  

Here is the DIV info

<div class="tooltip">Tooltip content goes here...<div class="pointer"><div class="inner-pointer"></div></div></div>

It the line below it, however cuts into the bottom of this tooltip, how do I make sure that it takes up all the space it is supposed to?

Here is an example in a jsFiddle:

http://jsfiddle.net/WEgBW/1/

  • 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-24T02:51:36+00:00Added an answer on May 24, 2026 at 2:51 am

    Assuming that the problem is that something overlaps your tooltip, then you should add a z-index on the .tooltip

    .tooltip 
    {
        padding: .8em;  
        width: 12em; background:#999;  
        border-width: 2px !important;  
        border-color:#999;    
        position:absolute;
        z-index: 999; /* added this line */
    } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a container div with the following CSS: #container { position:relative; overflow:hidden; width:200px;
I have the following element in my page: <div id=banner class=disappear>Hello</div> The CSS for
I have the following css code: #Layer3 { position:absolute; width: 89%; height: 40%; left:
I have the following CSS code .editable:before { content: url(../images/icons/icon1.png); padding-right:5px; } this is
I have the following element: <div id=#block-block-1> <p>KAREN LANCEL:<br> lancel(at)xs4all.nl<br> phone 0031 (0)624873424</p> <p>HERMEN
I have a div that I want to have the following characteristics: Width =
Hi I have a following css : div.container { height:20px; overflow: hidden; margin: 15px
I have a div that has the following css: position: fixed; height: 100%; left:
I have the following HTML: <DIV class=foo bar></DIV> I'm trying to create a CSS
I have a <div> with a black background containing a white <h1> element. My

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.