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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:49:14+00:00 2026-05-31T02:49:14+00:00

I am having difficulty tuning the placement of text on my web page. Items

  • 0

I am having difficulty tuning the placement of text on my web page. Items on the page seem to float about and not lock down. I need them to stay static with respect to the background image.

For example, I have a div Item called “leftMenu” I want the left menu to stay approximately 20 pixels to the left of the background image. Things seemed to work until I had to center the background image. Now that the background image is centered, I seem to have lost the ability to lock down div positions with respect to the background.

When the screen is full size things look good, but when the page size is altered the leftMenu drifts all over the place. I’m currently going through a lot of trial and error using absolute and relative positioning, but I can’t seem to get the right combination of settings to make the item stay put irrespective of the page size.

Page: http://107.22.173.10/
user: test2
pass: abc111

Any advice would be greatly appreciated.

  • 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-31T02:49:15+00:00Added an answer on May 31, 2026 at 2:49 am

    Instead of using a big background taking a div of text and position it absolutely to the center, why not get a div that’s exactly the size of the background image and center it using:

    CSS:

    html, body{
        height:100%;
        position:relative;
    }
    
    
    div.siteWrapper{
        background: !VALUE;/* your background*/
        padding: 0 0 0 0;  /* the space top, right, bottom, left from the edge of the bg image to the content box of the image*/
        width: !VALUE;     /* width of your background - (left + right padding)*/
        margin:100px auto; /* this will center your site horizontally and move it away from the top*/
    }
    

    HTML:

    <body>
        <div class="siteWrapper">
            //everything in here
        </div>
    </body>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having difficulty scraping dates from a specific web page because the date is
Having difficulty indexing an attachment type in elasticsearch via the Tire gem. Not able
I am having difficulty in getting a menu list to float in the center
I'm having difficulty making my Action Bar title text colour go white. Having followed
Having difficulty setting the colour scales for maps in ggplot. I need greyscale. Very
i am having difficulty implementing phpass into my login procedure - not knowing how
I'm having difficulty testing some logic that uses notifications. I've read about enforcing that
I am having difficulty determining if the body of a text email message is
I am having enormous difficulty writing to a simple text file in Java. Every
I'm having difficulty combining some lines in a comma delimited text file if 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.