|
Posted by Lachlan Hunt on January 29, 2006, 1:15 am
Please log in for more thread options
Bill Meeks wrote:
> 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
> page.
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; }
http://www.w3.org/TR/CSS21/colors.html#q2
--
Lachlan Hunt
http://lachy.id.au/ http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
|