Results 1 to 2 of 2
  1. #1
    Joan is offline Sophomore
    Join Date
    Jul 2010
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default 100% background in IE

    Hi guys,
    I am building a website where the background picture should be resized 100% of thhe scrren size
    It is working in Chrome,Firefoz,Safari but not in IE.

    Do you know how I can do this ?
    my CSS code is
    body {
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    height: 100%;
    width: 100%;
    background: url(images/backgrounds/portfolio-highshots.jpg);
    -moz-background-size:100% 100%; /* Firefox 3.6 */
    background-size:100% 100%;
    background-repeat:no-repeat;
    backgroun-origin: border-box;
    }
    Thanks

  2. #2
    ScottAN is offline Freshman
    Join Date
    Jan 2012
    Posts
    10
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default

    Try this:

    Code:
    html {
        background: url(image.jpg) no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

Similar Threads

  1. background image
    By slanluc in forum HTML / DHTML
    Replies: 5
    Last Post: 12-12-2011, 06:23 AM
  2. Background trick
    By slanluc in forum Graphics Design & Web Design
    Replies: 1
    Last Post: 08-27-2011, 10:32 PM
  3. Replies: 5
    Last Post: 02-15-2011, 12:46 AM
  4. Background image
    By shannonpaul2 in forum Search Engine Optimization
    Replies: 1
    Last Post: 10-19-2010, 04:56 AM
  5. BackGround Designer
    By Amit.Verma in forum Graphics Design & Web Design
    Replies: 6
    Last Post: 07-20-2008, 08:21 AM

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
  •  
Partners: BOSTON WEB DEVELOPER, LLC   |   WEBCOSMO CLASSIFIEDS