Solved

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

Posted on 2008-06-12
1
987 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now