background image 100%

body{-webkit-background-size: cover;

-o-background-size: cover;

background-size: cover;
background:url(../images/main_inner_bg.jpg) no-repeat fixed center top / cover transparent;
background-repeat: no-repeat;
min-width: 100% !important;
width: 100% !important;
}

For ie

/*IMAGE Opacity in IE */

<style type=”text/css”>
/* IE7 */
/*
*+html .cb-slideshow li span {
background-image: url(<?php echo $ie7; ?>);
}
*/
.cb-slideshow li span {

background-image: url(<?php echo $ie7; ?>);
background-size: cover;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
src=<?php echo $ie7; ?>,
sizingMethod=’scale’);
}

/* IE7, IE8 */
/*.cb-slideshow li span{
background-image: url(<?php echo $ie8; ?>)/; }
*/
</style>

Advertisements

One thought on “background image 100%

Add yours

  1. /*IMAGE Opacity in IE */

    /* IE7 */
    /*
    *+html .cb-slideshow li span {
    background-image: url();
    }
    */
    .cb-slideshow li span {

    background-image: url();
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
    src=,
    sizingMethod=’scale’);
    }

    /* IE7, IE8 */
    /*.cb-slideshow li span{
    background-image: url()/; }
    */

    Like

Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

WordPress.com.

Up ↑

%d bloggers like this: