• Archives

  • Set an image as a background of your website

    By admin | January 9, 2008

    Well this one is the easiest tutorial for you all

    How to set an image as a background of your website

    Syntax 

    <html>
    <head>

    <style type=”text/css”>
    body
    {
    background-image:
    url(‘bg.gif’)
    }
    </style>

    </head>

    <body>
    </body>

    </html>

     Notice:

    background-image: url(‘bg.gif’)

    Just use the background image declaration followed by url of the image in between the braces

    Thanks

    krates

    Topics: CSS | Comments Off on Set an image as a background of your website

    Related Links: