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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:02:38+00:00 2026-05-24T04:02:38+00:00

basically I have a little problem with a background I am using. I need

  • 0

basically I have a little problem with a background I am using. I need it to resize based on what width the window is, because I work with a massive screen and it displays fine, however on 1024×768, it isn’t exactly working right. I’ll post some images below to show you all what I mean.

On my resolution:
https://i.stack.imgur.com/sU592.jpg

On a 1024×768 screen:
https://i.stack.imgur.com/CsiPO.jpg

Also, here is the CSS for my background:

html, body {
width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url(/../images/background10.jpg) fixed no-repeat;
    }

I hope this helps :).

Ross.

  • 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-24T04:02:39+00:00Added an answer on May 24, 2026 at 4:02 am

    There may be a better way, but I’ve used jquery before to change (onLoad) the background src based on browser width, something along the lines of …

    function browserSize() {
        var bsr_w = $(window).width();
        if (bsr_w <= 800) {
            $('body').css("background-image", "url(background_small.jpg)");
        } else if (bsr_w <= 1024) {
            $('body').css("background-image", "url(background_medium.jpg)");
        } else {
            $('body').css("background-image", "url(background_large.jpg)");
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For a little background, I work for a firm that develops web-based enterprise social
I need a little help with some regex I have. Basically I have a
Well i have a little problem but really strange. So basically i analyzed URL
Well i have a little problem but really strange. So basically i analyzed URL
I have a little peculiar problem that I currently solve using a table ,
I'm having a little problem using NSURLDownload . Basically I'm downloading two different files
I basically have a page which shows a processing screen which has been flushed
I basically have 7 select statements that I need to have the results output
I have a curious little problem. I have a service that needs to create
I have a little problem. I want to do automatic searching, but there is

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.