Results 1 to 4 of 4

Thread: Website width and height help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2010
    Posts
    2

    Default

    Try this css also,

    The markup
    <div id="background">
    <img src="img.jpg" class="stretch" alt="" />
    </div>

    The css
    #background {

    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 0;

    }

    .stretch
    {
    width:100%;
    height:100%;

    }



    :)

  2. #2
    Join Date
    Jan 2009
    Location
    United States of America
    Posts
    45

    Default Thanks Buyscripts

    Thanks again.

Tags for this Thread

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
  •