BGproperties in CSS

Here’s what I’ve got so far . . .

<style type=“text/css”>
body { background: #000000 url(;}bgproperties=“fixed”

It all works, except for the background properties being fixed . . . I don’t want the background to move.

Any idea on how to fix this?

Try somthing like this:

background-color: #FFF;
background-repeat: no-repeat;
background-position: right center;
background-attachment: fixed;
background-image: url(/images/background.jpg);

or variants.

Your CSS is really malformed (that may be harsh, but what the hey :-). Try something more along the lines of this if you want to save a little space:

body {
 [background:]( #fff url(background.gif) no-repeat fixed;

…and bone up on your CSS!

All CSS properties are separated from their value with a colon–not and equil sign with quoted values like you do in HTML. You also prematurely ended the rule block, there (beginning with “body {” and ending with “}”), too.

Hope this helps! If not, ask more questions. :smiley:


Here’s the simple way of setting your BODY properties all at once:

body { margin: 0px; background: #ffffff url(…/images/bg_mainpage.gif) fixed; }

Thanks, guys!

I have to be honest. I don’t really know CSS, and I copied that snipet of code from another site. Problem was they didn’t have background properties set to “fixed”.

I checkout your tips…