
Originally Posted by
matt blank
Hi everyone,
I've only just recently started using Dreamweaver MX 2004 (I used to be on Dreamweaver 4).
To stop the background from scrolling I just used to put: bgproperties="fixed" and it worked fine.
But using Dreamweaver MX 2004 doing:
body {
background-image: url(bg.gif);
bgproperties: fixed;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #466F8F;
}
Doesn't work!! Can anyone help and tell me what to do to stop the background from scrolling??
Thanks!
Matt Blank
You can use do this:
HTML Code:
<body background="yourbg.jpg" style="background-attachment: fixed">
Notice the style="background-attachment:fixed"
If you need any help, ask me!
Bookmarks