[ic] Watermark Backgrounds

Duncan Maitland dnma at ozemail.com.au
Tue Feb 10 06:12:46 EST 2004


Use the following CSS (as well as any other CSS attributes you need):

    body { background-attachment: fixed; }

For example, to have a fixed watermark image centered in the middle of the
screen use:

    body { 
        background-color: white;
        background-image: url(bg.jpg);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
    }

or

    body { background: white url(bg.jpg) no-repeat fixed center; }

This CSS is part of the W3C standard, but I can't vouch for it working in
any particular browser. For more info, visit:
http://www.w3.org/TR/REC-CSS1.html

Cheers,
Duncan.

-----Original Message-----
From: interchange-users-bounces at icdevgroup.org
[mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of mnow
Sent: Tuesday, 10 February 2004 9:21 PM
To: interchange-users at icdevgroup.org
Subject: [ic] Watermark Backgrounds

I am trying to get a static background so as to have the text scroll over
it.
Any ideas on how to accomplish this?

Thanks,
Mark

_______________________________________________
interchange-users mailing list
interchange-users at icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users




More information about the interchange-users mailing list