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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:47:48+00:00 2026-06-11T10:47:48+00:00

I am trying to get wrap my head around this and I’m not gaining

  • 0

I am trying to get wrap my head around this and I’m not gaining much ground. I have a background image that is auto scaling to whatever the window size is. In front of it I am trying to center an image that is fixed to the bottom of the page all the while being scalable. This is the CSS that I have right now.

        #guys img{
            width:35%;
            margin-left:auto;
            margin-right:auto;
            bottom:0px;
            position: fixed;
        }   

and this is how i am calling said DIV

    <div id="guys">
        <img src="img/boys.png" alt="">
    </div>

What I end up with is the image fixed to the bottom of the page, and is scalable, but never have I been able to end up with it centered as well. Any thoughts? i would be so grateful!

  • 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-11T10:47:49+00:00Added an answer on June 11, 2026 at 10:47 am

    As I can see your Image is already in a Div
    make that div relative and margin auto with same width as your Image and everything should work just fine.

            #guys{
            position:relative;
            margin:auto;
            width:35%;
    
        }       
           #guys img{
            width:35%;
            bottom:0px;
            position: fixed;
    
        } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can't wrap my head around this for some reason. I'm trying to get
I'm trying my hardest to wrap my head around JavaScript closures. I get that
I have been trying to wrap my head around why this is happening but
Im trying to wrap my head around this but am spending too much time
I'm trying to wrap my head around Node.js streams, not that I'm pretty new
Okay, so I am trying to wrap my head around how to get stuff
I'm trying to wrap my head around NSNotification but can't seem to get it
I'm trying to wrap my head around this, but I seem to go in
I'm trying to wrap my head around multiple inheritance in python. Suppose I have
I'm new to Android programming and trying to wrap my head around this just

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.