How to upload background image in HTML

Discussion in 'HTML & Website Design' started by Bunny, Apr 23, 2007.

  1. #1
    Hi, I'm learning how to create a web page on my own...I'm using dreamweaver, how do I upload a background image for my page? Thanks for the help you can give...cheers! :) :)
     
    Bunny, Apr 23, 2007 IP
  2. boyponga

    boyponga Banned

    Messages:
    1,013
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For online purposes or for FTP, upload your image together with your html files then use CSS to call your image
     
    boyponga, Apr 23, 2007 IP
  3. costin_trifan

    costin_trifan Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    is this what you need?

    <html>
    <head>
    <title>New Page 1</title>

    <style type="text/css" media="screen">

    body
    {
    background-image: url('path to your image file here');
    }
    </style>


    </head>
    <body>
    ...........
    </body>
    </html>
     
    costin_trifan, Apr 23, 2007 IP
  4. Bunny

    Bunny Banned

    Messages:
    233
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thank you for your responses boyponga and costin_trifan....what i need to know is how to do it with dreamweaver...thanks for your help...:)
     
    Bunny, Apr 23, 2007 IP
  5. Mr Blonde

    Mr Blonde Guest

    Messages:
    142
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    this can be done in dreamweaver... just in code view.
    i'd recommend you learn html and css aswell as just learning dreamweaver as it's a hell of a lot better when you actually understand what dreamweaver is doing. also dreamweaver can also output unneccessary code so learning html can help you clean it up and validate it etc
     
    Mr Blonde, Apr 23, 2007 IP
  6. Bunny

    Bunny Banned

    Messages:
    233
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thank you Mr Blonde, i finally figured it out on my own....i'll try learning html and css when i have free time...thanks a bunch! :) :)
     
    Bunny, Apr 24, 2007 IP