Results 1 to 6 of 6

Thread: sticky background

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Posts
    424

    sticky background

    damnit I used to know how to do this.. how do you set the background image as stationary and have the text scrollable..?

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Using CSS:
    Code:
    body {
    	background: url("../blah.gif");
    	background-repeat: no-repeat;
    	background-attachment: fixed;
         }

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Posts
    424
    Thanks, ax.. however...

    there used to be a way with html.. something in the background or image properties..

  4. #4
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Haven't seen it before I prefer CSS - much easier

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Posts
    424
    OK, ax, I'll give it a try thanks

  6. #6
    Addicted Member
    Join Date
    Sep 2002
    Location
    Durham, NC, US
    Posts
    218
    If I remember correctly, this doesn't work with IE. You'll only get the effect you want if your audience uses a real browser.
    Travis, Kung Foo Journeyman

    Web Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.5 Guide and Reference
    Perl: Documentation, Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    OSS: Mozilla, MySQL (Manual)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width