What html codes are needed to set my page bg image not to tile and will stay locked?

i've done this: <body background="Images/Background.jpg" behavior="fixed" style="background-repeat:no-repeat"> The Background is "fixed" however nothing is scrolling (text/images) while the background is stable...help? or a solution where the bg image takes up the whole page....the image is currently at 1024 x 768. didnt work...

Public Comments

  1. I'm sure 'behavior' has been depreciated. Stick with CSS. I'm thinking <body style = "background:url('img/bg.pic') no-repeat"> You can toss in the background color too.
  2. If you want it to stay fixed you can use this css: <style type="text/css"> body { background-image: url('myimage.gif'); background-repeat: no-repeat; background-attachment: fixed } </style>
Powered by Yahoo! Answers