Input, button production button IE6, IE7 solution to the 1px black border when clicked_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:56:33
Original
1010 people have browsed it

The most common solution to the 1px black border when the button is clicked in IE6

First set the button to none, and then put a layer outside the button to achieve the border effect, part The code is as follows

.btnbox{ border:solid 1px red;}.btn{ border:none;}<span class="btnbox"><input class="btn" type="button" value="按钮"></span>
Copy after login

The second method is through the filter

input { filter:chroma(color=#000000); }
Copy after login

Note: Because there is no filter function in ietest, the effect cannot be tested in this software

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template