Results 1 to 6 of 6

Thread: Resolved - (HTML Question) How do I make an image appear in the background........

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    England
    Posts
    165

    Resolved - (HTML Question) How do I make an image appear in the background........

    ... but stay where it is even when you scroll up or down.

    Kinda like a watermark in word I guess.
    Last edited by Sir_Brock; Feb 25th, 2003 at 07:19 AM.
    _____

    Hehehe

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Using CSS:

    VB Code:
    1. body {
    2.     background: url("path to your image");
    3.     background-repeat: no-repeat;
    4.     background-attachment: fixed;
    5. }

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    England
    Posts
    165
    Where would that go in the HTML?
    _____

    Hehehe

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    England
    Posts
    165
    Doh - you just make it a watermark :|

    As below...

    <body background="mwdog2v2.gif" bgproperties="fixed">
    _____

    Hehehe

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    England
    Posts
    165
    Code:
    <STYLE TYPE="text/css">
    
    body {
    	background: url("mwdog2v2.gif");
    	background-repeat: no-repeat;
    	background-attachment: fixed;
    	background-position: 50% 0;}
    
    </STYLE>
    Aha! Got it, thankyou axion_sa.
    Last edited by Sir_Brock; Feb 25th, 2003 at 07:15 AM.
    _____

    Hehehe

  6. #6
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Welcome

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