Thread: CSS Image Help

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

    Join Date
    Nov 2013
    Posts
    1
    Rep Power
    0

    CSS Image Help


    Please help....trying to add a background image for website.
    Not sure what to change in current CSS.

    Here is first section of CSS that works with Background color.....but want to replace with background image
    (possibly watermark image that does not scroll with page)


    PLEASE HELP!!

    body{margin:0px;padding:0px; font:11px/14px verdana; background-color:#98B6F2;}

    p{margin:0px;padding:0px;}

    .flt{float:left;border:0;}

    .fltr{float:right;border:0;}

    .dis{display:inline;}

    .clr{clear:left;}
  2. #2
  3. Plays with fire
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2003
    Location
    Barsoom
    Posts
    942
    Rep Power
    97
    Try:

    Code:
    body {background-image: url('[path to image]'); background-attachment: fixed;}
    “Be ashamed to die until you have won some victory for humanity.” -- Horace Mann

    "...all men are created equal." -- US Declaration of Independence

IMN logo majestic logo threadwatch logo seochat tools logo