积极答复者
input type=file 样式的问题

问题
答案
-
无法解决
<form> <input name=t style="position:relative;z-index:3;width:200px;border:0;background:#eee;height:22px"> <input name=f type=file style="display:none" onchange="this.form.t.value=this.value"><input type=button value="浏览…[IE适用]" onclick="this.form.f.click()" /> </form> <form> <input name=t style="position:absolute;z-index:3;width:200px;border:0;background:#eee;height:24px;"> <input name=f type=file style="position:absolute;z-index:1;left:56px;" onchange="this.form.t.value=this.value"> </form>
【孟子E章】- 已标记为答案 m s 2009年10月23日 1:54
全部回复
-
http://www2.flash8.net/teach/4135.htm 参考几个方法 有你想要的
-
无法解决
<form> <input name=t style="position:relative;z-index:3;width:200px;border:0;background:#eee;height:22px"> <input name=f type=file style="display:none" onchange="this.form.t.value=this.value"><input type=button value="浏览…[IE适用]" onclick="this.form.f.click()" /> </form> <form> <input name=t style="position:absolute;z-index:3;width:200px;border:0;background:#eee;height:24px;"> <input name=f type=file style="position:absolute;z-index:1;left:56px;" onchange="this.form.t.value=this.value"> </form>
【孟子E章】- 已标记为答案 m s 2009年10月23日 1:54