+ Reply to Thread
Results 1 to 4 of 4

Thread: Background help!

  1. #1
    marmiea is offline x10Hosting Member marmiea is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    2

    Unhappy Background help!

    Sorry for my ignorance, but how do you set a background on a page?
    Do you have to use HTML or can you just click an image and set it as a background? Where do I do this, and how?

    Once again, sorry for my lack of skills.

    Hope this is an ok place for this post,

    marmiea

  2. #2
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: Background help!

    Thats not a problem. But i think this is the wrong forum to post. You should have done it in the programming help forum.

    And for your query, there are a variety of way to do it.
    let me tell you the basic part alone........

    <html>
    <head>
    <title>Give your title here</title>
    </head>
    <body background="put the path to the image file along with its name and extention">
    </body>
    </html>


    Thats it.
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  3. #3
    marmiea is offline x10Hosting Member marmiea is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    2

    Re: Background help!

    Thanks it worked, but my layout is centered.

    And my backgrounds not, how do i center my background?

    Thanks!

  4. #4
    xanthophobia is offline x10Hosting Member xanthophobia is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    24

    Re: Background help!

    You can also set the background with CSS:
    HTML Code:
    <style>
    body {
        background-image: url(URL_HERE);
        background-position: center center;
        background-attachment: fixed;
        background-repeat: no-repeat;
    }
    </style>
    You might not need "background-attachment: fixed;" which "fixes" the background image on the screen so that it stays in the same position regardless of if you scroll down.

    You might not need "background-repeat: no-repeat;" which removes the tiling effect when you use small background images.

+ Reply to Thread

Similar Threads

  1. Replies: 12
    Last Post: 10-29-2007, 09:09 PM
  2. [HELP]How to add a background
    By Derek in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 05-25-2007, 06:56 AM
  3. Bid For Multiple Background Dynamic SIG
    By iubtalks in forum The Marketplace
    Replies: 32
    Last Post: 08-05-2006, 01:28 PM
  4. My web designe
    By dharmil in forum Graphics & Webdesign
    Replies: 7
    Last Post: 07-20-2006, 09:23 AM
  5. Background Help!
    By Akkarin in forum Scripts & 3rd Party Apps
    Replies: 8
    Last Post: 06-03-2005, 01:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers