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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:58:49+00:00 2026-05-22T14:58:49+00:00

How can I change background-image properties in body… CSS CODE: body { background-image:url(‘…’); repeat:repeat-x;

  • 0

How can I change background-image properties in body…

CSS CODE:

body
{
   background-image:url('...');
   repeat:repeat-x;
   height:100%;
}

How can I make the height value to be dynamic…(changing the height for diffrent screen sizes)?

My idea is to use Jquery to get a screen height value: $(window).height();

But i don’t really understand what to do with that in the CSS CODE…

I don’t really understand why height:100% doesn’t do the job.

  • 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-22T14:58:50+00:00Added an answer on May 22, 2026 at 2:58 pm

    You should also set height: 100% to the HTML tag then it will work. For example add the following like to your CSS:

    HTML, BODY { height: 100%; }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need change the background image, so I using: $('body').css({backgroundImage : 'url(images/wallpaper/'+wp+'.jpg)'}); But, I
as i have to create a function which can change the image (src/ background-url).
How can I change my textarea background image when I select a value from
I have an app in which the user can change the background image of
how can I change background image of my button only when the mouse is
How can I change the background image of UIToolbar? I have been able to
* How can I change the background image of each page in the JQuery
How can I change the BACKGROUND color of the MDI FORM in C#? I
Using AppleScript, how can I change the background color of cells ranging from A3
Im looking for a way to change the background image of a div using

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.