+ Reply to Thread
Results 1 to 4 of 4

Thread: Background Image Centering
      
   

  1. #1
    Join Date
    Aug 2007
    Posts
    2

    Question Background Image Centering

    Hey everyone.

    I've just started using BV after giving up on GoLive. Watched all the tutorials, browsed the forums and did some experimenting, but I can't seem to find an answer to this problem.

    I'm trying to add a background image to my website in BV, which I would like to remain oriented to center and bottom, regardless of browser window size. All I can seem to do though is get it oriented top left. The image is designed to make sense regardless of monitor resolution and browser size, as the important aspects of it are center bottom, and the rest just more or less recurs.

    I'm guessing fixing this will involve CSS, unfortunately, I barely know what that is, I've only ever worked with html, fairly basic html at that.

    Please Help!
    Thanks, Raoul.

  2. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,719

    Default Re: Background Image Centering

    Hi, in the script below, just change the http://www.webbiesite.com/satisfaction.jpg to your own image that you have online. And place this script in the page html property’s box under “Beginning of Body”
    You can also ajust the backgrounds colour via the #ffffff (white) part

    Good luck.


    HTML Code:
    <script language="JavaScript1.2">
    /*
    Watermark Backgound Image Script by(www.webbiesite.com)
    */
    if (document.all||document.getElementById)
    document.body.style.background="url('http://www.webbiesite.com/satisfaction.jpg') #ffffff center no-repeat fixed"
    
    </script>

  3. #3
    Join Date
    Aug 2007
    Posts
    2

    Default Re: Background Image Centering

    Thanks! I'm sure I'll manage, I've always made up for lack of knowledge by being really good at copying things.

  4. #4
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,719

    Default Re: Background Image Centering

    No problem, just post back if you get stuck.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49