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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:47:42+00:00 2026-05-23T00:47:42+00:00

I have a div nested in a td and the div class is set

  • 0

I have a div nested in a td and the div class is set to absolute:

.mouseover-tooltip {
    width:400px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border:1px solid #555;
    background-color:#FFFFFF;
    -webkit-box-shadow: #B3B3B3 9px 9px 9px;
    -moz-box-shadow: #B3B3B3 9px 9px 9px;
    box-shadow: #B3B3B3 9px 9px 9px;
    position:absolute;
    z-index:10;
    left:-9999px;
    padding:5px;
    display: none;
}

But when I give it a top of 0, it aligns itself with the top of it’s parent. That’s not what I want. I want to work in an absolute world.

  • 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-23T00:47:42+00:00Added an answer on May 23, 2026 at 12:47 am

    But when I give it a top of 0, it aligns itself with the top of it’s parent.

    That’s how absolute positioning works: relative to the offset parent.1 From your statement I can infer that the element’s parent is positioned.2

    Use .offset() to set the position of the element relative to the document, or change the HTML structure such that the element’s offset parent is the <body>.


    1. The closest positioned ancestor or the containing block.
    2. That is, the parent has computed position of relative, absolute, or fixed.

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

Sidebar

Related Questions

I have a div with border-radius set to some value (let's say 10px), and
I have a set of nested elements like such. <div id=master> <span id=num-1 class=num></span>
I have a div tag styled through CSS. I set the padding to 10px
I have a div of nested ul/li items. each ul/li has a css class.
I have a couple of nested divs and have set a CSS class for
I have a hidden div nested inside a larger div, and set it up
I have a basic set-up like this: <div class=stop> <span class=point></span> </div> <div class=stop>
I have a set of nested DIV 's and I need to find each
I have a div with two nested divs inside, the (float:left) one is the
I have a div with a set height of 200, and sometimes there's enough

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.