#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2010
    Location
    London
    Posts
    96
    Rep Power
    0

    How to create a fixed background image on a web page.


    "To make the background imaged fixed or not scroll add the BGPROPERTIES=""FIXED"" code into the body statement as shown below.

    <BODY BACKGROUND=""bg.gif"" BGCOLOR=""#000000"" VLINK=""#808080"" BGPROPERTIES=""FIXED"" TEXT=""#C0C0C0"" LINK=""#FF0000"" ALINK=""#0000FF""><CENTER>."

    Comments on this post

    • Markisdee disagrees : thx for the tip. problem solved! :D
    • Winters disagrees : Riiiight.
  2. #2
  3. CSS & JS/DOM Adept
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2004
    Location
    USA (verifiably)
    Posts
    20,132
    Rep Power
    4304
    That code is obsolete. The correct way to do that is to use CSS: http://www.google.com/search?q=CSS+f...age+-w3schools
    Spreading knowledge, one newbie at a time.

    Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

    Remember people spend most of their time on other people's sites (so don't violate web design conventions).

IMN logo majestic logo threadwatch logo seochat tools logo