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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:36:07+00:00 2026-06-09T04:36:07+00:00

How do I keep a resizable div from being overlapped by neighboring elements? I

  • 0

How do I keep a resizable div from being overlapped by neighboring elements? I changed the z-index of the resizable div to have 1, and the rest 0.

This example will make it clear right away:
http://jsfiddle.net/gALUP/1/

HTML

<div id='grid'>
    <div class='outline'>
        <div class='container resizable'>
        </div>    
    </div>
    <div class='outline'>
        <div class='container'>
        </div>    
    </div>
</div>

CSS

.outline { 
    height: 200px;
    width: 200px;
    border: 1px solid black; 
    position: relative; 
    z-index: 0; 
    display: inline-block;
}
.container { 
    height: 100%; 
    width: 100%; 
    background-color: #ff0000;
}

.resizable { 
    background-color: #0000ff; 
    position: absolute; 
    z-index: 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-06-09T04:36:10+00:00Added an answer on June 9, 2026 at 4:36 am

    Remove z-index: 0 from .outline:

    .outline {
        height: 200px;
        width: 200px;
        border: 1px solid black;
        position: relative;
        display: inline-block;
    }
    .container {
        height: 100%;
        width: 100%;
        background-color: #ff0000;
    }
    .resizable {
        background-color: #0000ff;
        position: absolute;
        z-index: 1;
    }
    

    http://jsfiddle.net/elclanrs/gALUP/2/

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

Sidebar

Related Questions

Keep going around circles, but I am still unclear about this. Have a feeling
I keep getting this error and have no idea why. I googled and scanned
I have setup a div that is resizable: $(mydiv).resizable(); Now when you go to
I have a resizable container div. Inside that div there's another resizable div. If
i have this structure of DIVs <div id=container> <div=outer> <div id=inner> </div> </div> </div>
I want to have a resizable structure in Java to keep one dimension-arrays or
(Keep in mind this is on OSX Snow Leopard) I don't know how to
Keep getting this error after inserting a subdatasheet into a query and trying to
I keep coming back to this problem, since there doesn't seem to be a
Can this be done? I'm building a template generator complete with resizable and draggable

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.