Re: floating background

by Lori Eldridge <lorrie652(at)icehouse.net>

 Date:  Wed, 12 Mar 2003 15:18:34 -0800
 To:  "Tim Rivera" <lists(at)timrivera.com>
 Cc:  hwg-basics(at)hwg.org
 References:  riveraamd
  todo: View Thread, Original
Hi Tim,

>First of all, the BODY element cannot have two background images. If the
>browser supports the JavaScript, it will use that background image,
>otherwise the browser will use the image given in the HTML with the
>'background' attribute.

Ok, I knew that if one didn't work the other would but wasn't sure how to utilize both.

>Secondly, is there a reason why you are using JS to simply write the CSS?

I haven't set up CSS for this site yet. I designed it before I began learning CSS.

>Lastly, what you should do is place a DIV around all the content, and give
>that DIV the fixed background image without the background color.

Wow!!! That worked perfectly.

thanks Tim :o)

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA