• Archives

  • AddThis Social Bookmark Button

    Add to Technorati Favorites

  • Upcoming Conferences

    • no upcoming events
  • Set an image as a background of your website

    By krates | 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

    Share and Enjoy:
    • Digg
    • del.icio.us
    • Facebook
    • NewsVine
    • Reddit
    • StumbleUpon
    • YahooMyWeb
    • Google Bookmarks
    • Yahoo! Buzz
    • TwitThis
    • Live
    • LinkedIn
    • Pownce
    • MySpace

    Topics: CSS | Comments Off

    Related Links:

    Comments are closed.