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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:33:52+00:00 2026-06-09T05:33:52+00:00

I have an HTML table realized as a bunch of divs (for making a

  • 0

I have an HTML table realized as a bunch of divs (for making a scrollable table).

In one of the cells (a div), I want to show a popup which overlaps other cells.

Like so:

http://jsfiddle.net/pFx6m/

My markup:

<div class="dataRow">
    <div class="firstCell">lalala</div>
    <div class="secondCell">lululu</div>
    <div class="thirdCell">
        <div id="someBigContent"></div>  
        <div class="clearRight"></div></div>
    </div>

<div class="dataRow">
    <div class="firstCell">lalala</div>
    <div class="secondCell">lululu</div>
    <div class="thirdCell">

    </div>
</div>
<div class="dataRow">
    <div class="firstCell">lalala</div>
    <div class="secondCell">lululu</div>
    <div class="thirdCell">lilili</div>
</div>​

My CSS:

.dataRow {
    height: 30px;    
    width:300px;
    max-height: 30px;
}

.dataRow > div {
    display: table-cell;
    height: 30px;
    z-index: 0;
    overflow:hidden;
}

.firstCell {
    width: 100px;
    height: 10px;
    background-color: blue;
}

.secondCell {
    width: 100px;
    height: 10px;
    background-color: red;
}

.thirdCell {
    width: 100px;
    height: 10px;
    background-color: yellow;
}

.clearRight {
    clear: right;
}

#someBigContent {
    height:100px;
    width:250px;
    background-color: #000;
    position: relative;
    top: 0px;
    left: -50px;
    float:right;

    z-index: 999;
}
​

Now I’m doing something wrong, because it doesn’t overlap the cells left of the someBigContent (cells one and two) and it makes some rows bigger than they’re supposed to be.

See this fiddle for an overview of the situation.

How can I just make the cells overlap (and maybe the content that is under there — not just the table)?

  • 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-06-09T05:33:53+00:00Added an answer on June 9, 2026 at 5:33 am

    With that CSS the block #someBigContent will not affect the rows or cells sizes:

    .dataRow {
        height: 30px;    
        width:300px;
        max-height: 30px;
    }
    
    .dataRow > div {
        display: relative;
        float: left;
        height: 30px;
        z-index: 0;
    }
    
    .firstCell {
        width: 100px;
        height: 10px;
        background-color: blue;
    }
    
    .secondCell {
        width: 100px;
        height: 10px;
        background-color: red;
    }
    
    .thirdCell {
        width: 100px;
        height: 10px;
        background-color: yellow;
    }
    
    .clearRight {
        clear: right;
    }
    
    #someBigContent {
        height:100px;
        width:250px;
        background-color: #000;
        position: absolute;
        top: 10px;
        left: 10px;        
        z-index: 999;
    }
    

    Now you can adjust the position of this block relative to parent cell.

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

Sidebar

Related Questions

I have a HTML Table which in which i want to manipulate using JQuery
see fiddle i have html table and one textbox and one button.make cell selection
I have an html table with one of the headers spanning over 2 columns.
I have an HTML table like: <div> <table border=1> <thead> <tr class=example> <th> <span
I have html table which I am using it as body of email, Problem
I have table [HTML Table] on page I want to delete record from table
I have one table which display data as from Dynamic Content in 1 column.
I making web application for iphone user. I have HTML table structure inside asp.net
I have written a script which dynamically creates a html table based off server
I have HTML table with 10 rows and which has a Current Value column

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.