Forum Moderators: open
I'm after a fixed background in a help file I'm writing. Using the code below it works fine in IE.
<body bgproperties="fixed" background="helpback.jpg">
but viewing the same page in Firefox the background scrolls :(
If anyone could help it would make my year. Well OK it wouldn't but your help would be appreciated.
bgproperties is IE-specific, and is not the recommended method. You should be using CSS as a cross-browser method for adding a background image. If you already have a stylesheet, add the following: body {
color:#000;
background:#fff url(helpback.jpg) repeat-x fixed top left;
} Or you can add the rule to the
body element with a style attribute: <body style="background:#fff url(helpback.jpg) repeat-x fixed top left;">