如何删除webkit浏览器中的c伪路径,如chrome,safari,opera?
在IE和Firefox中它只显示文件名,没关系
但在Chrome,歌剧,野生动物园.它显示C:\ fakepath\700.jpg
如何在Chrome,opera,safari中删除C:\ fakepath \.
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.js"></script>
<style type="text/css">
.inputWrapper {
overflow: hidden;
position: relative;
cursor: pointer;
/*Using a background color, but you can use a background image to represent a button*/
background-color: #DDF;
}
.fileInput {
cursor: pointer;
height: 100%;
position:absolute;
top: 0;
right: 0;
/*This makes the button huge so that it can be clicked on*/
font-size:50px;
}
.hidden {
/*Opacity settings for all browsers*/
opacity: 0;
-moz-opacity: 0;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0)
}
</style>
<script type="text/javascript">//<![CDATA[
$(window).load(function(){ …Run Code Online (Sandbox Code Playgroud) 如何只在IE上破解css内联样式?
在所有版本中只能在IE上破解css内联样式,我该怎么办?
像那样
<div style = "
color: #eee;
border: 1px solid #000;
for ie only // line-height : 32px;
"/>
Run Code Online (Sandbox Code Playgroud)