Home >Web Front-end >HTML Tutorial >How to hide the text and box next to the upload button as shown in the picture_html/css_WEB-ITnose

How to hide the text and box next to the upload button as shown in the picture_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:25:391529browse




Please tell me how to perfectly hide the upload button with a red border next to it in IE Firefox


Reply to the discussion (solution)

Use a div and set the position of the div to absolute or fixed. The important thing is to set the z-index of the div to a large value such as: 10000

Position a well-styled button in the file box , the file box is fully transparent, so you only see the button but not the file box.
Clicking the button will click to the file box, and the button style is completely customized

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn