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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:30:57+00:00 2026-06-17T12:30:57+00:00

Here is my website http://albuquerqueautomotiveservice.com/ but I coded it in my old computer and

  • 0

Here is my website

http://albuquerqueautomotiveservice.com/

but I coded it in my old computer and its monitor is rather squared then widescreen.

I just noticed in my laptop the right side of the page is gray.

How can I make sure it stretches only horizontally?

  body {
        background:#333 url(bg.jpg) no-repeat;
        width: 100%;
        font-family:Arial;
        cursor: url(images/wrench.cur);
        }
  • 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-17T12:30:58+00:00Added an answer on June 17, 2026 at 12:30 pm

    That’s what background-size is for:

    background-size: cover;
    

    If you support IE < 9, you’ll have to use their proprietary filter:

    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/path/to/bg.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/path/to/bg.jpg', sizingMethod='scale')";
    

    Another option for IE would be to have the image as an actual img tag in your HTML:

    <img src="/path/to/bg.jpg" class="page-background" />
    

    Then use this piece of code in your CSS:

    .page-background {
        width: 100%;
        height: auto;
        z-index: -1;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i recently made a website http://www.albuquerqueautomotiveservice.com but i messed up big time because it
I am trying to create a facebook like website here http://likes.vermilionsite.com/ but when you
Kind of hard to explain. But with the website here: http://beerportfolio.com/mobile/ the button on
Hi deae the problem is this, here is my website URL http://pkbazaar.com When I
I am trying to send data to DotNetOpenAuth website as described here http://msdn.microsoft.com/en-us/library/debx8sh9.aspx Sender
Here is an example website http://us.blizzard.com/store/browse.xml?f=c:5,c:33 When I inspect the response in Firefox it
i have a website here is a jsbin http://jsbin.com/eqodep/1/ although jquery is not working
I installed the JDK by downloading the dmg from the Oracle website here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html
I am using facebox which uses jQuery 1.2.1 on my website here http://www.pointclickshoot.com/beta2 The
Here is my website: http://designobvio.us/portfolio/body.html Here's my aspiring website: http://www.googlezeitgeist.com/en/top-searches/battlefield_three I'm getting pretty close

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.