CodeLifter.com
Software & Scripts by CodeBrain.com
Home

JavaScripts
PopUp Maker
-
popup windows

CodeLifter 5
-
source viewer

ScrollBar Styler
-
color scrollbars

Flash Fixer
-
remove alerts

Roll-Over Maker
-
image roll-overs

Link Cloaker 5
-
encrypt links

Site Capture 3
-
hidden frames

CHMOD 2 Utility
-
chmod utility

BlackBird 3.0
-
browser shell

Zoom 1.0
-
magnifier
MicroTicker.com
-
text scroller

CodeBrain.com
-
java applets

BrainCode.com
-
java applets

MailToProtector
-
protect email
Java Applets
Perl Scripts
Affiliate Program
Index JavaScript
Tip
Index
How do I get the page background image to
stay fixed when the page is scrolled?
The technique is called watermarking.

One simple way is to add bgproperties="fixed" to the body tag, like this:

<body bgproperties="fixed">

Note that this typically only works in Internet Explorer browsers.

Another way of doing it that also works in later Netscape browsers (6.x & up) is to add this style script to the <head> of your page:

<style>
body {background-attachment:fixed}
</style>

Get The Code! CodeLifter is a CodeBrain.com Sister Site
©1995 - 2012 OEC Corp & CodeLifter.com
CodeLifter™ & CodeBrain™
Legal Notices


CodeBrain InterNET Group
BrainCode.com CodeFoot.com CodeBelly.com
Droiddd.com etLux.com FFFast.com
TrayApps.com PopUpWorks.com MicroTicker.com
DavidSosnowski.com OECCorp.com MailToProtector.com
CodeBrain.com
Free MUSIC!

Contemporary classical music, completely free.
Who do WE
Use for Hosting?


We judge hosts harshly. Uptime. Lightning-fast support. Servers that sing. And prices that please. Anything less, and you're history. Our clients won't accept anything but the best. Will you? From demanding music sites like DavidSosnowski to CodeBelly.com to dozens more, we use... Eleven2