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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:59:37+00:00 2026-05-30T08:59:37+00:00

Dear visitors stackoverflow! I can not solve a simple problem: Body given the background

  • 0

Dear visitors stackoverflow!

I can not solve a simple problem:
Body given the background of the picture “1.jpg” (it is automatically pressed against the header),
I still need to put a picture – “2.jpg” to be pressed on the contrary to the footer. That is, I need some “rubber layout” in height, so that images were sliding when the height of the page is large, and would come when the content is not enough. I would be happy to link a working example (not even a demo, but just a site that I myself look the source code), but at least I would be grateful for the usual suggestions and ideas! Thank you in advance.

Sorry for bad English, I tried to write competently.

update:

Thank you very much for your answers. Do not pay attention to what I
chose only one, you helped me and I thank you all!

  • 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-30T08:59:38+00:00Added an answer on May 30, 2026 at 8:59 am

    For full browser support, I’d have one image set on the <body>, and then another image set on a site container, e.g. <div id="site">

    HTML

    <html>
      <head>
        <title>Title!</title>
      </head>
    <body>
      <div id="site">
        [Your website here]
      </div>
    </body>
    

    CSS

    body {background: url(img/image-1.jpg) top no-repeat;}
    #site {background: url(img/image-2.jpg) bottom no-repeat;}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Dear Stacktoverflow, can you show me an example of how to use a QScrollBar?
Dear all, I have a question about Facebook Page: ( NOT user profile page,
Dear members of the Stackoverflow community, We are developing a web application using the
Dear stackoveflow, I have this problem. I'm working with an old version of mssql
DEAR All I'm new to the C++, so maybe someone can say what the
Dear all devexpress winform gurus:) My way is simple. First, i create a bindinglist:
Dear Friends good afternoon. My problem may be this is very basic one i.e.
Dear honorable people of stackoverflow, why is my textbox, which is my validated control,
dear all. i'm familiar with MySQL but not in Firebird. i try to search
Dear all trader and API Gurus, Thank you in advance. Background: Visual Studio 2010,

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.