Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Webpage background help

    Hello, I'm trying to make a webpage with two images for the background. One that only repeats along the top of the page, and one that fills in as the background for the rest of the page.
    So far here's the code that I've been working with:


    <div class="divider">
    </div>
    <style>
    body {
    background-image: url("http://i155.photobucket.com/albums/s304/barkley_elmo/bgk2.jpg");
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: left top;
    }


    .divider {
    background-image:url(http://i155.photobucket.com/albums/s...elmo/bgk.jpg);
    background-repeat:repeat-x;
    width: 100%;
    height:151px;
    padding:0px;
    position:left top;
    }

    </style>

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    3,763
    Thanks
    23
    Thanked 548 Times in 547 Posts
    And your problem is????


  •  

    Tags for this Thread

    Posting Permissions

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