Results 1 to 14 of 14

Thread: Background static?
      
   

  1. #1
    starcreative is offline Corporal
    Join Date
    Mar 2011
    Posts
    16

    Default Background static?

    "This was posted in another thread and I wanted to ask a question but it was closed"

    This was the question:

    I am making a website and i have added a background by right clicking and going to page properties then adding a background that is the same width as my page but if I scroll down, my background is copied as i scroll down. What i want is for the background to stay put and only the content on the page scrolls down.

    Can someone help me please?



    This was the answer and I have tried it over and over and it is not working:

    Go in Page HTML and add the following code in the Inside Body of the page HTML:

    background-attachment: fixed;
    background-repeat: no-repeat;

    What is the solution for a background image to not repeat in BlueVoda?

  2. #2
    LadyEye's Avatar
    LadyEye is offline General & Forum Moderator
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    10,527

    Default Re: Background static?

    You say you tried this .. ??

    Simple solution!

    Go in Page HTML and add the following code in the Inside Body of the page HTML:

    background-attachment: fixed;
    background-repeat: no-repeat;

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  3. #3
    starcreative is offline Corporal
    Join Date
    Mar 2011
    Posts
    16

    Default Re: Background static?

    It's not working unless I'm asking the wrong question.

    I put it up here alexbookworm.com/header.html

    All I have on the page is the backround with the code in the inside body.

    You will see the orange bar repeating.

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

    Default Re: Background static?

    Not sure if what you are asking is on this page? If so the instructions are at the bottom of the page. (Scroll down)

  5. #5
    starcreative is offline Corporal
    Join Date
    Mar 2011
    Posts
    16

    Default Re: Background static?

    Thanks. I updated it with this code.

    What is weird is that it is not at the top of the page.

    How can I just have this background image simply not tile?

  6. #6
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,695

    Default Re: Background static?

    Just place it on the front of your page & send to back if you already have items there.

  7. #7
    starcreative is offline Corporal
    Join Date
    Mar 2011
    Posts
    16

    Default Re: Background static?

    Thanks for helping collectors info.

    I did that and here it is: alexbookworm.com/header.html

    The problem is it's not a background now so when I have the page centered it does not stretch across the entire page.

    Doesn't it have to be a background? But I don't want it to tile :)

  8. #8
    Tom Finley's Avatar
    Tom Finley is offline Brigadier General
    Join Date
    Mar 2008
    Location
    Kauai, HI
    Posts
    1,303

    Default Re: Background static?

    Starcreative...

    I just looked at your page. I'm wondering if you are trying to make a header that dynamically adjusts to the width of any screen? If so, BlueVoda is not capable of that. What BV can do is tile a very narrow, long image across the screen so that the header (or background) appears to adjust to screen width. The header image you have can't be recreated to work as you wish, if this is what you are trying to do.

    Also, the image you have (I like the way it looks, btw) is much too wide. You have the width of the page set at 800px--that's as wide as the image should be. Practically, 960px is as wide as a page should be, in order to be viewable by the vast majority of screens without side-to-side scroll bars.
    CLAMcentral.com Children's Ministry resources
    CLAMcentral's Projects Blog
    CLAMbakeonline.com Family Fun

  9. #9
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,695

    Default Re: Background static?

    Toms right, you can only do this if you have a square or oblong object that will repeat its self. A right angle shape wont do this without look odd. Might be worth a redesign on style if you need this.

  10. #10
    starcreative is offline Corporal
    Join Date
    Mar 2011
    Posts
    16

    Default Re: Background static?

    You guys are helpful.

    Lets say I have a 10x10 pixel and I tile it so it covers the entire background...

    Is there a code to plug into the html that will simply keep it from tiling? So there would just be a 10x10 box in the left top corner?

  11. #11
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,695

    Default Re: Background static?

    Is there a reason to have just 1 10x10 image on the page??????

  12. #12
    starcreative is offline Corporal
    Join Date
    Mar 2011
    Posts
    16

    Default Re: Background static?

    Hey Collectors-info the answer would be no.

    I explained it that way to make it easy to understand.

    I want to apply it to a different size background image.

    Is there a code to plug into the html that will simply keep a background from tiling?

  13. #13
    starcreative is offline Corporal
    Join Date
    Mar 2011
    Posts
    16

    Default Re: Background static?

    Figured it out. Here it is if you want to see it.

    Thanks.

    alexbookworm.com/header2.html

  14. #14
    mustofa is offline Private
    Join Date
    Jun 2011
    Posts
    1

    Default Re: Background static?

    Quote Originally Posted by starcreative View Post
    "This was posted in another thread and I wanted to ask a question but it was closed"

    This was the question:

    I am making a website and i have added a background by right clicking and going to page properties then adding a background that is the same width as my page but if I scroll down, my background is copied as i scroll down. What i want is for the background to stay put and only the content on the page scrolls down.

    Can someone help me please?


    This was the answer and I have tried it over and over and it is not working:

    Go in Page HTML and add the following code in the Inside Body of the page HTML:

    background-attachment: fixed;
    background-repeat: no-repeat;

    What is the solution for a background image to not repeat in BlueVoda?
    To get background fixed works on BV you can edit index.html on your webhost control panel within body tag.

    So it looks like this:

    body
    {
    text-align: center;
    margin: 0;
    background-attachment: fixed;
    background-repeat: no-repeat;
    }

    Or you can edit preview.html on C:\users\......\appdata\local\temp\preview

    Check out my test page
    http://terminalmusik.co.cc
    (under construction)

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