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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:03:43+00:00 2026-06-12T14:03:43+00:00

Ok I am running into a little problem positioning an image inside a DIV.

  • 0

Ok I am running into a little problem positioning an image inside a DIV.

<div id="wholePage">
     <img src="theImages/header_shadow_flip.png" id="hF" />
     <div id="pageWrapper"><img src="theImages/header_shadow.png" id="bF" />
     </div>
</div>

I have the following CSS for both DIVs

#wholePage {
    position: relative;
    width: 1000px;
    padding: 0 10px;
    padding-top: 35px;
    margin: 0 auto;
}
#pageWrapper {
    position: relative;
    width: 960px;
    padding: 0 10px;
    padding-top: 37px;
    margin: 0 auto;
}

The CSS for the top shadow, which works just fine. no need to change, is:

img#hF {
    position: absolute;
    left: 50px;
    top: 56px;
    z-index:2;
}

But the bottom footer image is giving me issue and the css is:

img#bF {
    position: absolute;
    left: 50px;
    top: 1657px;
    z-index:2;
}

Two examples of the page is below:

www.interfaithmedical.com/CheckSite/index.html
www.interfaithmedical.com/CheckSite/ms_gynecology.html

How do I align the bottom shadow image to match the pageWrapper DIV so it is positioned right below it? and doesn’t position based on the page itself like it did on the second link. (On the second link, you can see it uses the original spacing and extends beyond page content)

  • 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-12T14:03:44+00:00Added an answer on June 12, 2026 at 2:03 pm

    Instead of setting the top: property of bF, try setting the bottom: property of bF to -4px. That way you aren’t tied to your page being 1657px tall every time.

    img#bF {
        left: 50px;
        position: absolute;
        bottom: -4px;
        z-index: 2;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running into a little problem that's driving me crazy, and I'd welcome any
I'm running into a little problem with a gridview and a dropdownlist. I can
I am creating a little testing component and am running into a problem Basically
I'm converting an old AS1 project to AS3 and am running into a little
Running into a problem. I have a table defined to hold the values of
I'm running into a problem with JQuery Mobile (new to me) and the AJAX-call.
I'm a little inexperienced with the DataContract paradigm, and I'm running into a deserialization
Im trying to improve the Java Html Document a little but i'm running into
I'm running into a problem with JAXB unmarshalling that I have no clue how
I have a little problem with my pixellation image processing algorithm. I load the

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.