1. H5去除 a标签 按钮 点击事件 出现灰色背景
在CSS文件开头 或 页面开头 添加
*{
-webkit-tap-highlight-color:rgba(0, 0, 0, 0);
-moz-tap-highlight-color:rgba(0, 0, 0, 0);
-ms-tap-highlight-color:rgba(0, 0, 0, 0);
-o-tap-highlight-color:rgba(0, 0, 0, 0);
tap-highlight-color:rgba(0, 0, 0, 0);
}
a,a:hover,a:active,a:visited,a:link,a:focus{
-webkit-tap-highlight-color:rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
outline:none;
background: none;
text-decoration: none;
}
*{
-webkit-tap-highlight-color:rgba(0, 0, 0, 0);
-moz-tap-highlight-color:rgba(0, 0, 0, 0);
-ms-tap-highlight-color:rgba(0, 0, 0, 0);
-o-tap-highlight-color:rgba(0, 0, 0, 0);
tap-highlight-color:rgba(0, 0, 0, 0);
}
a,a:hover,a:active,a:visited,a:link,a:focus{
-webkit-tap-highlight-color:rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
outline:none;
background: none;
text-decoration: none;
}
2.被flash遮盖的完美解决方法:
被flash遮盖的完美解决方法: 让flash置于DIV层之下的方法,让flash不挡住飘浮层或下拉菜单
IE 浏览器<object></object>内加上参数<param name="wmode" value="opaque" />
FF 浏览器<embed />内加上参数wmode="opaque"
IE 浏览器<object></object>内加上参数<param name="wmode" value="opaque" />
FF 浏览器<embed />内加上参数wmode="opaque"