如何设置文件上传样式? [英] How to style a file upload?

查看:197
本文介绍了如何设置文件上传样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在firefox中,它看起来像是您单击的文本字段,而我只需要一个类似safari渲染的按钮即可.是否有一种方法可以不显示文本字段,而无法在firefox中上传文件

In firefox it looks like a text field that you click on and i just need a button like safari renders..Is there a way to not display the text field looking file upload in firefox

推荐答案

之前多次提出要求:

  • How can I style a file input field in Firefox?
  • Styling an input type="file" button
  • How to style "input file" with CSS3 / Javascript?
  • https://stackoverflow.com/questions/3984815/jquery-best-way-to-style-a-input-file-tag
  • Can we change <input type="file"> style?
  • Style of input=File as a button

这篇关于如何设置文件上传样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆