1

为了在 IE 8 中将大小应用于背景图像,我遵循了这个问题的公认答案How do I make background-size work in IE?

但是,放置在分区中的锚点和按钮在 IE 8 中不起作用。有人可以推荐一个简单的解决方案吗?

<!-- Here is my HTML !-->
<div id="masthead">
<div class="inner_masthead_inner_wrapper">


    <h1>HEADLINE</h1>
    <p>Sales copy</p>
    <h2>Give it a try, it's free!</h2>

    <button type="button" class="btn fbLoginBtn" onClick="FB.login();">Login with Facebook</button>

  </div>
</div>


<!-- Here is my CSS !-->


#masthead{
background: url(../images/social-media-marketing-tool.jpg) no-repeat #000;
background-size: 100% 100%;

filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/social-media-marketing-tool.jpg',
sizingMethod='scale');

-ms-filter: 'progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/social-media-marketing-tool.jpg',
sizingMethod='scale')';
}
4

0 回答 0