1
CSS:IE7當<input type =「submit」>它底部有黑色邊框時,如何刪除?
width:80px;
height:65px;
background: #0fe;
border:none;
outline:none;
border-bottom:3px solid #f0f;
CSS:IE7當<input type =「submit」>它底部有黑色邊框時,如何刪除?
width:80px;
height:65px;
background: #0fe;
border:none;
outline:none;
border-bottom:3px solid #f0f;
使用過濾器:
input[type=submit],
input[type=reset],
input[type=button]
{
filter:chroma(color=#000000);
}
來源:http://www.cssjunction.com/css/remove-black-border-around-input-buttons-in-ie-7/
目前使用IE7的是globaly:0.13%。沒有必要支持它。 我個人覺得IE8有點牽強甚至支持。 – Persijn 2015-03-13 11:03:06
[textarea/input focus上的IE7按鈕上的黑色邊框]的可能重複(http://stackoverflow.com/questions/8602544/black-border-on-ie7-buttons-on-textarea-input-focus) – 2015-03-13 12:34:18