HTML Background image

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hello, what html do I write to keep the background image from not
repeating itself?  I want the image to follow me as I scroll down the

Re: HTML Background image

Bill Meeks wrote:
Quoted text here. Click to load it

This is a CSS question, not an HTML related question.  Look up the CSS
background properties; in particular, 'background-repeat' and the
'background' shorthand property.

For example:

body { background: white url(/images/bg.png) no-repeat; color: black; }

Lachlan Hunt / Rediscover the Web Reclaim your Inbox

Site Timeline