Perhaps it would be wiser that you first try Bill's suggestion before making that statement??
In fact, it works perfectly in WD preview, Firefox and IE8.
Printable View
Yes, it also works in IE7, Safari, Chrome and Opera.
Although, to pass W3C validation it has to be:
And added to the head. But othervise it's perfectly working solution.Code:<style type="text/css">body {background-attachment:fixed;}</style>
I have added it in the new version of the tweaks gallery. :)
I opened Sledgers example file and it previewed as expected. I then added other elements to the file. The revised version is attached. When I preview the revised version, the new objects I added don't appear. Why?
A new object was set to repell text and that works but the object itself isn't appearing in the preview. Very wierd! I hope someone can identify what I might have done wrong or what I need to do for all objects to appear properly.
Regards, Ross
Thanks John -- that did fix it. It actually wasn't my placeholder text but Steve's (Sledger's) from his posting above. If you open his .web attachment, his file appears to preview correctly as intended. It seems his error in the placeholder only makes itself apparent when other objects are added.
Regards, Ross
Thanks Ross, I missed the typo because it all worked fine for me when I tested it. I originally had more objects but removed most of them before uploading the .web file.
I have now replaced it with the better validation code John supplied.
John thanks for the corrected placeholder text so that W3C validation works.
A simple example can be viewed at http://btaylor.50megs.com/noscroll/
The index.htm page is without the placeholder so you can see the page background scrolls with the text area.
Click the green button to see the second page that uses the placeholder as corrected by John (Covoxer). Scroll the page and the background remains fixed but the text area scrolls.
The .web file is attached.