I have the following code in my style sheet body { background: #FFF url(bg.jpg); } Code (markup): how do I stop the image from repeating down the page?
footer {width: 170px; float: left;padding-left: 20px;background: url(../images/image_name.png) no-repeat top right} no-repeat I think should do it
sounds like you want the image to repeat left to right across the page and not "down" the page. If thats the case...replace no-repeat with repeat-x
He's right. More info can be found here http://www.w3.org/TR/REC-CSS2/colors.html#background-properties
body { background: #FFF url(bg.jpg) top left repeat-x; } Code (markup): I find that this website is great for CSS help/tutorials: http://www.tizag.com/cssT/