#1
  1. No Profile Picture
    snake-boy
    Guest
    Devshed Newbie (0 - 499 posts)
    Hi all,..

    If anyone can tell me how to get my page to be scrollable over a background which remains static,.. could you PLEASE tell me how to do it,.?

    I am a beginner at html/java and need help!

    If you are unsure of the effect I am referring to, go here: http://underworld.fortunecity.com/croft/219/dino.html

    This page is a perfect example of EXACTLY what I mean.

    Please email me if you can help. Any/all help much appreciated.

    Thanks in advance

    snake
  2. #2
  3. No Profile Picture
    antfarm
    Guest
    Devshed Newbie (0 - 499 posts)
    all you need to do is insert the bgproperties="fixed" in the <body header. If you need to see how it is done, just go to the page and right click on the main frame and select view source. The line you need is again in the body header.
  4. #3
  5. No Profile Picture
    kenezmn
    Guest
    Devshed Newbie (0 - 499 posts)
    A fixed background can also be achieved with a Cascading Style Sheet: <link rel=stylesheet href="your_style_sheet.css type="text/css">or a Style block in the <head></head> section: <style type="text/css"></style>. The style command is the same: body {background-attachment: fixed} Also, a style command can be placed "inline": <body style="background-attachment: fixed"> However, I see no real advantage to the Style approach unless you were using a CSS to affect many pages and didn't want to type bgproperties="fixed" many times.
    P.S. Netscape(4.0) doesn't execute a fixed background any way I've tried (let me know if you find a way). Good Day. kenezmn
  6. #4
  7. No Profile Picture
    alejandrocoronel
    Guest
    Devshed Newbie (0 - 499 posts)
    java has nothing to do with javascript, please use the right names!!!!

Similar Threads

  1. problem in static block
    By sreenathnagarur in forum Java Help
    Replies: 2
    Last Post: December 15th, 2003, 10:32 PM
  2. Replies: 7
    Last Post: December 10th, 2003, 05:58 AM
  3. Problems writing/reading a hex value to a static int
    By m0dr0cker in forum C Programming
    Replies: 12
    Last Post: November 26th, 2003, 12:54 PM
  4. keeping the background from scrolling with text
    By redemptorhomini in forum HTML Programming
    Replies: 6
    Last Post: November 19th, 2003, 05:16 PM
  5. Replies: 0
    Last Post: October 20th, 2003, 08:18 PM

IMN logo majestic logo threadwatch logo seochat tools logo