HTML Background Tile.

Discussion in 'Web Design & Coding' started by jcim05, Apr 25, 2006.

  1. jcim05

    jcim05 OSNN Junior Addict

    Messages:
    35
    Location:
    Connecticut
    Im trying to set a specific file as a background in an assignment i have for school. ive been trying all kinds of codes, but none work. does anyone have any ideas for a code that will tile a single image across the whole page?
     
  2. jimi_81

    jimi_81 Moderator Political User

    Messages:
    820
    Location:
    Stoney Creek, ON, Canada
    <body style='background-image:url(imagename.extension) repeat"> or something like that
     
  3. Khayman

    Khayman I'm sorry Hal... Political User Folding Team

    Messages:
    5,518
    Location:
    England
    can add it as part if the body tag if you want to

    <body background="mypic.gif">

    make sure you have the path right to the file
     
  4. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
  5. jcim05

    jcim05 OSNN Junior Addict

    Messages:
    35
    Location:
    Connecticut
    awesome. It was a problem with the file I using. thanks for the link though, it will definately be helpful.