- This topic is empty.
-
AuthorPosts
-
June 11, 2013 at 8:31 am #45446JoejacksParticipant
Hi
I am using the following CSS to provide a full screen background image but in IE8 the background is not scaling to cover the full background, in Firefox and Chrome it is working fine.
#background {
position: fixed;
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
top: 0px;
left: 0px;
z-index: -100;
background: url(‘../images/bbg.jpg’) no-repeat fixed center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’../images/bbg.jpg’,sizingMethod=’scale’);
-ms-filter: “progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../images/bbg.jpg,sizingMethod=scale)”;
}And just after the opening body tag I am calling the background div
Any ideas on what is incorrect that is causing this in IE8 and how to get around this please
June 11, 2013 at 8:37 am #138317June 11, 2013 at 10:44 am #138327JoejacksParticipantThanks but I thought that adding a
`
June 11, 2013 at 10:48 am #138328Paulie_DMemberHave you looked at the comments under CSS Technique #2.
Frankly, I’d look to be dropping ‘special effects’ for anything under IE9
June 12, 2013 at 3:59 am #138421JoejacksParticipantThanks with option 2 as you mentioned how could I implement this just for IE8 and below and leave the existing code as is which is working for the other main browsers.
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)- The forum ‘CSS’ is closed to new topics and replies.