Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-06-12
1
Medium Priority
?
995 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
[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
1 Comment
 
LVL 9

Accepted Solution

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

in the css
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
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 Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

609 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