IE不兼容background-size属性解决办法(使用filter)

background: url(imgurl) no-repeat;
background-size: 100% 100%;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=‘imgurl‘, sizingMethod=‘scale‘);

背景上面的元素被覆盖,无法点击。

解决:设置需要显示的元素的position:relative;z-index属性设置高一些即可。

时间: 2024-08-11 03:30:19

IE不兼容background-size属性解决办法(使用filter)的相关文章

PHP内存溢出Allowed memory size of 解决办法

PHP内存溢出Allowed memory size of 解决办法 博客分类: php ============================Allowed memory size of  xxx bytes 以前追踪过这个问题,但是那个时候工具用的不太好,没看的这么细,这次搞的比较细,修正了偶以前的看法 .于是写小文一篇总结一下. PHP偶尔会爆一下如下 错误Allowed memory size of  xxx bytes exhausted at xxx:xxx (tried to a

使用UdpAppender时出现了“使用了与请求协议不兼容的地址”的解决办法

最近在做一个东西,需要将log4net日志通过UDP传输到其他数据库,其中发送端就用了UdpAppender,但是运行时在控制台总是显示:使用了与请求协议不兼容的地址.解决办法:在C:\Windows\System32\drivers\etc这个目录下,找到hosts文件.把:# localhost name resolution is handled within DNS itself.# 127.0.0.1 localhost# ::1 localhost改为:# localhost nam

低版本IE内核浏览器兼容placeholder属性解决办法

最简便的一个方法,通过js实现. <input type="text" name="username" id="username" value="姓名" onfocus="if(this.value=='姓名') this.value = ''" onblur="if(this.value=='') this.value='姓名'"> <textarea name=&q

PHP内存溢出 Allowed memory size of 解决办法

PHP出现如下错误:Allowed memory size of  xxx bytes exhausted at xxx:xxx (tried to allocate xxx bytes)    关于这一点,本站点中,http://nodonkey.iteye.com/blog/728223 有所讲述.        同时,还有 http://hi.baidu.com/thinkinginlamp/blog/item/e400f819a3caab7cdbb4bd4e.html 此文也是讲这个问题

PNG24图片兼容IE6解决办法

很多人都遇到一个问题:那就是PNG不能正常显示,比如: 网上试过的很多办法都很难实现,要嘛就是效果不好,那现在最好的办法就是直接调用JS插件,解决! 点击下载 现在说一下怎么用这个文件吧! 首先看下代码: <!doctype html> <html> <head> <meta charset="UTF-8"> <title>PNG24兼容IE6</title> <style type='text/css'&g

解决IE8下不兼容rgba()的解决办法

rgba()是css3的新属性,所以IE8及以下浏览器不兼容,这怎么办呢?终于我找到了解决办法. 解决办法 我们先来解释以下rgba rgba: rgba的含义,r代表red,g代表green,b代表blue,a代表透明度. rgba(0,0,0,.5) 这样就代表了黑色,透明度为0.5 要想解决在IE8下的透明度问题,可以增加这样一句话: filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000,endC

几个常用的CSS3样式代码以及不兼容的解决办法

原文:几个常用的CSS3样式代码以及不兼容的解决办法 border-radius实现圆角效果 1 CSS3代码: 2 3 -webkit-border-radius:10px; 4 -moz-border-radius:10px; 5 border-radius:10px; 6 background-color:#666; 7 width:200px;height:100px; Firefox,Chrome Google,Safari等浏览器的显示效果如图0-0: 图0-0 但是IE这个异类不支

IE6/IE7下margin-bottom失效兼容解决办法及双倍边距问题

(从已经死了一次又一次终于挂掉的百度空间人工抢救出来的,发表日期 2014-04-08) 一.IE6/IE7下margin-bottom失效兼容解决办法 1.用padding-bottom代替:2.在父标签中加入overflow:hidden:或zoom:100%示例代码: 不正常显示 ul{} li{ list-style:none; float:left; margin:10px;} 1. 你会发现左边10px 变成20px了, 解决办法:在li的CSS中加入:display:inline

Visual Studio 2012出现“无法访问T-SQL组件和安装了不兼容伯 DacFx版本”的解决办法

参考:Visual Studio 2012出现“无法访问T-SQL组件和安装了不兼容伯 DacFx版本”的解决办法 Vs2012的下载地址: https://msdn.microsoft.com/en-us/jj650015