Click here to get back home

HTML Background image

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
HTML Background image Bill Meeks 01-28-2006
Get Chitika Premium
Posted by Bill Meeks on January 28, 2006, 4:51 pm
Please log in for more thread options


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.


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

Similar ThreadsPosted
with background image - what's the right way? March 4, 2005, 5:51 pm
CSS Bug?? background-image - Not Refreshing October 25, 2005, 10:39 am
Background image not appearing December 29, 2005, 11:42 pm
Mac IE not displaying background-image June 20, 2006, 6:39 am
Help! Background image not displaying... February 8, 2008, 6:11 pm
fixed background image w/css problem September 27, 2004, 9:29 pm
Firefox does not recognize background image May 3, 2006, 9:20 pm
Masking large image into background February 26, 2007, 4:40 pm
Setting an image as background to a table cell. September 27, 2005, 5:54 pm
White text on black background...HTML May 14, 2008, 5:21 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap