Solved

Body background image centered at the bottom...not working.

Posted on 2008-06-12
1
989 Views
Last Modified: 2008-06-12
Hopefully this should be an easy one.

http://ne3d.cwtclients.co.uk/index.html

In the URL above, if you view the site in IE7, you'll see that there is a large image which is set in the stylesheet as the background of the body, it centered at the bottom of the page. If however you view the site in FF, you'll notice that the background image doesn't appear at all.

I'd just like to know where I've going wrong?

I've attached the CSS for the body tag.
body {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	background: url(../images/body-bg.png) center bottom no-repeat;	
	font-family: Arial, Helvetica, sans-serif;
	}

Open in new window

0
Comment
1 Comment
 
LVL 9

Accepted Solution

by:
zemond earned 500 total points
ID: 21768616
html {
height:100%;
}

in the css
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
manage footer size 4 51
How do I set diff properties in a table row? 3 19
How to make footer stick to bottom 9 27
Box Locations 6 16
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
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 …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

786 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