【问题标题】:Does not contain the value in the Input in IE8 \ IE9不包含 IE8\IE9 中 Input 中的值
【发布时间】:2012-10-14 11:51:48
【问题描述】:

有输入:

<input type="submit" id="SomeId" value="Search" class="mc-button mc-button-orange" />

风格:

.mc-button-orange {
border: solid #A26F19;
border-image: initial;
background: -webkit-linear-gradient(top, #F2BD65, #CB891E);
}

.mc-button {
min-width: 10px;
line-height: 24px;
height: 24px;
padding: 0 28px;
padding-top: 2px;
text-align: center;
-moz-transition: all 0.218s ease 0s;
-moz-user-select: none;
background: #1B7BCB;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#6AC3EB), to(#1B7BCB));
background: -webkit-linear-gradient(#6AC3EB, #1B7BCB);
background: -moz-linear-gradient(#6AC3EB, #1B7BCB);
background: -ms-linear-gradient(#6AC3EB, #1B7BCB);
background: -o-linear-gradient(#6AC3EB, #1B7BCB);
background: linear-gradient(#6AC3EB, #1B7BCB);
color: white;
display: table;
font-size: 12px;
text-decoration: none;
text-transform: uppercase;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
-moz-outline-radius: 10px;
border-radius: 10px;
border: 0px solid #0076A3;
border-bottom: 1px solid #1564A5;
overflow: visible;
cursor: pointer;
clear: none;
float: left;
}

圆角由库 PIE 制作。

在IE8\IE9中不出现输入词“搜索”。

请告诉我,如何解决这个问题?

展望未来,禁用这些类的 PIE 并且标记没有帮助。

由谷歌翻译。

【问题讨论】:

    标签: html input internet-explorer-8 internet-explorer-9


    【解决方案1】:

    删除display: table;会解决这个问题

    【讨论】:

      猜你喜欢
      • 2013-01-10
      • 2023-03-29
      • 1970-01-01
      • 1970-01-01
      • 2013-10-23
      • 2013-03-16
      • 1970-01-01
      • 2014-03-03
      • 2011-11-04
      相关资源
      最近更新 更多