[thelist] The Comps - CSS background problem

Gina K. Anderson gina at sitediva.com
Tue Dec 5 13:21:26 CST 2000


Hi all,

Thanks for your wonderful comments on the comps. Most said something about the
pictures, and I talked to the designer I am freelancing for, and she decided she
would take more pictures and insert them later...she loves comp #1, so my job is
done for now, except for getting the graphics into an html template for her.

I am having a problem with a CSS background image in the template between IE and
Netscape. Use IE, and see:

http://sitediva.com/clients/AnneWelsh/site/index.html

The lighter Celtic knot image in the center of the page is called using a CSS
class for the table background:
.tablebg {
	background-attachment: scroll;
	background-image: url(imgs/bgimage.gif);
	background-repeat: no-repeat;
	background-position: center top;
}

But in Netscape it doesn't show up at all.  SO, I used a different code on
http://sitediva.com/clients/AnneWelsh/site/about.html

Using this code:

body {
	background-attachment: scroll;
	background-image: url(imgs/bgimage.gif);
	background-repeat: no-repeat;
	background-position: 50% 60px
}

Again, fine in IE, Netscape throws it over to the left side of the page.

Is there a way to fix this?

Thanks, Gina





More information about the thelist mailing list