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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:21:52+00:00 2026-05-30T11:21:52+00:00

Here I have two divs with a css background images set for both. I’m

  • 0

Here I have two divs with a css background images set for both.
I’m trying to get the divs to overlap so I can have a dotted pattern overlay.
I feel like I’m doing it correctly but the wrong div is coming forward.
Any ideas why this is happening?

Here’s the website: http://designobvio.us/portfolio/body.html

HTML:

<section class="bodySection">
 <div id="body-wrapper" class="container_12">

  <div id="left-container" class="grid_5">
   <div class="content">
   </div>
  </div><!--end of left-container-overlay-->
 </div><!--end of left-container-->
</div><!--end of body-wrapper-->

</section><!--end of bodySection-->

My CSS:

 #left-container {
    background:url(../img/sliderBG.png)transparent repeat;
    width:400px;
    height:100%;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
    position:absolute;
    overflow:hidden;
    display:block;
    height:100%;
    top:0;
    z-index:5;
}
#left-container .content {
    background:url(../img/Me.jpg) repeat-y;
    width:400px;
    height:100%;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
    position:absolute;
    overflow:hidden;
    display:block;
    height:100%;
    top:0;
    z-index:1;
}

Thanks guys!

  • 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-30T11:21:53+00:00Added an answer on May 30, 2026 at 11:21 am

    I do think your problem is that you are nesting one of the overlapping elements inside the other whereas they should normally be just siblings.

    See this fiddle for a way to do it: http://jsfiddle.net/GCprD/

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

Sidebar

Related Questions

Here's a DEMO . I have two divs , an inner and an outer:
I have a small problem. I am trying to align two divs side by
how to get the css floating property to work with four divs? I have
I have two divs on a page. a grid-container that takes a background and
I have two divs <div id=hm-sp-lenovo-wr> ....... <div id=hm-sp-motorola-wr> ....... And in my css
What is the issue with this code? Here we have two files: classA.h and
Here's the thing: I have two applications, written in C++ and running on two
Here is the scenario: I have two asp pages. a.aspx is layout and b.aspx
I have two tables: entitytype and project . Here are the create table statements:
here is what my code looks like i have two forms: class Form_1 extends

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.