background image is not being displayed in IE 8

By : Bilal

The content div background is not being displayed in IE8.

Here is the css

    margin: 0 auto;
    width: 950px;
    height: auto;       
    padding-top: 50px;
    padding-bottom: 15px;       
    font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
    text-align: justify;
    background-color: #FFF;
    background-image: url('images/content-bg.jpg');
    background-repeat: no-repeat;
    background-position: bottom;

All other browsers show the image. When testing in IE9's developer mode using browser mode to IE8 and document mode to IE8 the image is visible but not in IE8 itself.

By : Bilal


write like

background: url('images/content-bg.jpg') no-repeat 0 bottom #FFF;

This video can help you solving your question :)
By: admin