background

When I add a background to a page I don't want it to repeat. I know you can do this with css but I've been having trouble getting it to work. Can anyone give me the code or some help?
 
benp said:
When I add a background to a page I don't want it to repeat. I know you can do this with css but I've been having trouble getting it to work. Can anyone give me the code or some help?

Here you go:

Code:
body {
	background: url(/path/to/background.png) no-repeat;
}

And then import the css file into your html document:

Code:
<style type="text/css">
@import "/path/to/css/file.css";
 
Back
Top