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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:23:55+00:00 2026-05-24T21:23:55+00:00

Here’s the challenge I’m facing. I’m trying to get a div to appear behind

  • 0

Here’s the challenge I’m facing. I’m trying to get a div to appear behind another object and to center align to it.

This is what I’m up to so far: http://jsfiddle.net/imoda/GYha2/

And this is the result I’m trying to get

enter image description here

As you can see, I’m close. I just can’t get it to align center and to position itself behind the other object.

Any thoughts?

HTML:

<div id="banner" class="grid_12">
    <div class="bannerBgT"></div>
    <div class="bannerBgY">
        <div id="planPricingWrapper">
            <div id="planPrices">
                <div class="planPrice">
                    <div class="planPriceX"> </div>
                    <div class="planPriceR"></div>
                    <div class="clear"></div>
                </div>
                <div class="clear_10px"></div>
                <div class="planPrice">
                    <div class="planPriceX"> </div>
                    <div class="planPriceR"></div>
                    <div class="clear"></div>
                </div>
            </div>
            <div id="planPriceOptions">
                <div class="planPriceOptionsBgT" id="supremacy"></div>
                <div class="planPriceOptionsBgY" id="supremacy">
                    <div><img src="http://www.patientacquisitionsystem.com/images/plans/pricing_title_supremacy.png" width="183" height="27" alt="Supremacy" id="titleImg" /></div>
                    <img src="http://www.patientacquisitionsystem.com/images/plans/pricing_plan_supremacy.png" width="146" height="156" alt="" />
                    <div class="planFeatures"> <b>Includes Gold &amp; Platinum Features Plus:</b>
                        <ul>
                            <li>Class 3 Rayhawk Design</li>
                            <li>Class 3 Content Management</li>
                            <li>Up to 6 Content Modules</li>
                            <li>Inclusion in 2 or more directories/portals</li>
                            <li>Access to Rayhawk brand management services*</li>
                            <li>Mobile device enabled educational content/videos</li>
                            <li>Marketing materials deployment system*^</li>
                            <li>2 hours per month of additional services</li>
                        </ul>
                    </div>
                </div>
                <div class="planPriceOptionsBgB" id="supremacy"></div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="bannerBgB"></div>
</div>

CSS:

#planPricingWrapper {
    padding: 20px;
}

#planPrices {
    float: right;
}

#planPrices * {
    z-index: 1;
}

.planPrice > * {
    float: left;
}

.planPriceX {
    width: 280px;
    height: 131px;
    background: url(http://www.patientacquisitionsystem.com/images/plans/pricing_bg_x.png) repeat-x;
}

.planPriceR {
    width: 11px;
    height: 131px;
    background: url(http://www.patientacquisitionsystem.com/images/plans/pricing_bg_r.png) no-repeat;
}

#planPriceOptions {
    z-index: 9999999;
}

.planPriceOptionsBgT, .planPriceOptionsBgB {
    width: 614px;
}

.planPriceOptionsBgT#supremacy, .planPriceOptionsBgY#supremacy, .planPriceOptionsBgB#supremacy {
    background-color: #181818;
}

.planPriceOptionsBgT {
    height: 10px;
    background: url(http://www.patientacquisitionsystem.com/images/plans/pricing_plan_bg_t.png) no-repeat;
}

.planPriceOptionsBgY {
    background: url(http://www.patientacquisitionsystem.com/images/plans/pricing_plan_bg_y.png) repeat-y;
    color: #FFF;
    text-align: center;
    padding: 20px;
    width: 574px;
    min-height: 250px;
}

.planPriceOptionsBgY #titleImg {
    margin-bottom: 10px;
}

.planPriceOptionsBgB {
    height: 12px;
    background: url(http://www.patientacquisitionsystem.com/images/plans/pricing_plan_bg_b.png) no-repeat;
}

.planFeatures {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    text-align: left;
    list-style: square;
    margin-left: 10px;
}

.planFeatures ul {
    list-style: square;
}
  • 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-24T21:23:58+00:00Added an answer on May 24, 2026 at 9:23 pm

    There are basically two ways to do vertically aligning:

    1. Use tables (using either real HTML <table> tags or fake CSS display:table-cell declarations)
    2. Use inline elements (again, either real HTML elements that are naturally inline, like <span>, or CSS display:inline-block declarations)

    Here’s an updated fiddle that uses display:inline-block to approximately get what you’re after, I think. Notice that I also flipped around the two divs in the HTML.

    It also uses the *display:inline; zoom:1; hack to make it work with IE6/7

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

Sidebar

Related Questions

Here's what I'm trying to accomplish with this program: a recursive method that checks
Here is the css: #content ul { font-size: 12px; } I am trying this:
Here is what I am trying to achieve in PHP: I have this string:
Here is my question. I am having this simple menu. <div id=menu> <ul> <li>
Here the total height of all <div> 's are 900 pixels, but the jQuery
Here's a Clone() implementation for my class: MyClass^ Clone(){ return gcnew MyClass(this->member1, this->member2); }
Here's my scenario: <!-- Normal Control --> <div class=required> <label for=address1>Address line 1</label> <input
Basically, what I'm trying to create is a page of div tags, each has
Here is an example. foreach (var doc in documents) { var processor = this.factory.Create();
Here's the flow that I am trying to achieve: 1) User uploads an audio

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.