Solved

Full Size Page Background

Posted on 2014-02-12
4
387 Views
Last Modified: 2014-02-12
I am trying to make the page have a full size background regardless of the size of the browser window. I found code online but no matter what I do I cannot get it to work in this instance. Please help. HTML and CSS file are attached.
index.html
style.css
0
Comment
Question by:wayne_henry
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

by:wayne_henry
ID: 39853994
I posted all code and images to http://irawaynehenry.com/rw/
0
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
ID: 39854020
Remove this from the markup: <img src="images/rw-bg.jpg" id="bg" alt="">

Keep that image as a background to the body tag just the way you have it.

Add background-size: cover to the body css.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39854023
Try this

body {
background:url('images/your_image.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
}
0
 

Author Closing Comment

by:wayne_henry
ID: 39854036
Worked perfectly. Thank you!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to calculate height of a text using jquery 3 42
Can't get cursor to change 3 16
Hit counters in SharePoint 2013 2 29
Need help with FaceBook login 2 19
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question