Results 1 to 2 of 2

Thread: 2 background images???

  1. #1
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default 2 background images???

    Ok im trying to make a layout for myspace but there is a problem. I need 2 background images. I need this one to be repeating in the background (which is easy to do) but i also need to have this one on the bottom left of the page but i have no idea on how to make 2 background images. does anyone know how to fix the problem?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    place the second image in a div, say a footer div.

    CSS:

    Code:
    .footer {
         position: absolute;
         bottom: 0px;
         left: 0px;
         background: url(path/to/image.jpg);
         width: sameAsImage;
         height: sameAsImage;
    }
    then in the HTML:

    HTML Code:
    <div class="footer"></div>
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

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
  •