Results 1 to 3 of 3

Thread: HTML/CSS code

  1. #1
    Join Date
    Jul 2004
    Posts
    904
    Rep Power
    0

    Question HTML/CSS code

    Whats the code for placing a STATIC/FIXED image on the background of a page on lets say Hi5 or myspace??

    (The text would scroll... but the image would remain fixed.)
    -|ChecK iT|-

  2. #2
    Join Date
    Apr 2005
    Posts
    1,333
    Rep Power
    0

    Default

    Add this extra attribute to your <BODY> tag:

    bgproperties="fixed"

    <BODY bgproperties="fixed">

    However, I doubt that will work on those websites since you cannot save the edited HTML back on their server.
    The fox was probably right - they could have been sour grapes.

  3. #3
    Join Date
    Oct 2005
    Posts
    745
    Rep Power
    0

    Default

    PHP Code:
    <style type="text/css">

    body{
    backgroundurl(background.gif)  center no-repeat fixed;
    }

    </
    style

    They allow the addition of styles using css the above should work
    3.14159265358979323846264338327950288
    4197169399375105820974944592307816406
    28620899862803482534211706798 pi 101

Posting Permissions

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