<style type="text/css">
a.btn {width: 120px;height: 42px;overflow: hidden;display: block;text-decoration: none;background: url(/images/chose_file.gif) left top no-repeat;}
/*file设为透明,并覆盖整个触发面*/
a.files input{ margin-left: -350px;font-size: 30px;cursor: pointer;filter: alpha(opacity = ); background:#;filter:alpha(Opacity=);opacity:;-moz-opacity:;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=);-MS-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";/*为了兼容各种浏览器*/}
</style>
<a href="#" class="btn">
<input type="file" class="input_files" />
</a>

最新文章

  1. Lucene.net
  2. Java JDBC使用方法
  3. mvc理解篇
  4. Windows 8.1 新增控件之 TimePicker
  5. Grunt - grunt-contrib-connect
  6. 0511 backlog 项目管理
  7. SERVER 2012 R2 core域环境下批量创建用户
  8. tornado远远不止
  9. linux groupmems命令
  10. 修改MojoWeixin 只保留用户name 取消群昵称
  11. Delphi 实现无窗口移动(详细使用WM_NCHITTEST和PtInRect API进行测试)
  12. Establishing SSL connection without server&#39;s identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if expl
  13. ArcGIS制图表达Representation实战篇3-控制点
  14. day_ha配置文件
  15. C# 三种打印方式含代码
  16. 说说PC站和移动站的移动适配关系优化
  17. kubernetes之configmap,深度解析mountPath,subPath,key,path的关系和作用
  18. Boost.Asio 网络编程([译]Boost.Asio基本原理)
  19. linux主机名的修改
  20. Restful API学习笔记

热门文章

  1. 【C#】遍历List列表的同时,移除访问到的元素
  2. [app]Linux的setitimer和sleep冲突
  3. java clone对象
  4. js学习笔记32----new
  5. jQuery Masonry-让你的网页更自然的强大的动态不规则布局插件!
  6. webstorm软件使用记录
  7. asp.net一些面试题(转)
  8. 获得android手机的联网状态
  9. 【转】【OPenGL】opengl 64位 配置 freeglutx64下载
  10. 关于Random中的随机数种子Seed