Click to See Complete Forum and Search --> : [RESOLVED] firefox


binky
11-21-2006, 08:03 AM
I have: bgproperties="fixed" in my page, which works fine with IE and not at all with firefox. Can somebody please tell me, how I can get a fixed bg for other browsers as well ?

TheBearMay
11-21-2006, 08:06 AM
Place this in your head section instead:

<style type="text/css">
body, html {
background-attachment:fixed;
}
</style>

binky
11-21-2006, 08:10 AM
thanks ever so much!

the tree
11-21-2006, 10:19 AM
While you're at it, you may as well define all your background properties in the stylesheet.

<style type="text/css">
body{
/*
background: (background-color) (background-image) (background-repeat) (background-attachment) (background-position);
*/

background: white url(someimage.jpg) no-repeat fixed center center;

color: black;

}

binky
12-09-2006, 10:00 AM
:d