SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Non-Member
    Join Date
    Mar 2010
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to set image as a background

    Quote Originally Posted by ComputerGuru247 View Post
    That is the most in depth FAQ I have ever seen. Wow, that is the best FAQ ever. Way to go.
    That was really helpful and informative. Could you please help me how to set an image as the background.

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,861
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by businessminder View Post
    That was really helpful and informative. Could you please help me how to set an image as the background.
    There is a lot of information about that in the CSS forum. It isn't something you do with HTML.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Member ContactUSA's Avatar
    Join Date
    Jul 2008
    Location
    qlWeb.com - Directory Script
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Arrow

    Quote Originally Posted by businessminder View Post
    That was really helpful and informative. Could you please help me how to set an image as the background.
    Here is one example. You do it in CSS:

    html, body {
    background-image: url(images/ImageFile.gif);
    }

    You 'll need to replace "images" with the actual location of the file on your server and ImageFile.gif with the actual file name.

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,467
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Posts moved to more appropriate forum


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •