IE10中的表格高度

时间:2014-04-21 10:31:12

标签: css forms firefox internet-explorer-10

我在左边开了一个带标签,右边是输入框。在Chrome和Safari中它运行良好,但在Firefox和IE10中它的高度分散了注意力。这是一个屏幕截图! [IE10] http://i.stack.imgur.com/vQR73.png

这是CSS

.comment-form-author label, .comment-form-email label, .comment-form-url label {
  font-size: 21px;
  border: 1px solid #a9a9a9;
  padding: 11px 18px 14px 18px;
  color: #868686;
}
.comment-form-author label, .comment-form-email label {
    padding-right: 33px;
}
.comment-form-author label {
    padding-right: 31px;
}
.comment-form-author input[type='text'], .comment-form-email input, .comment-form-url input {
  padding: 18px 18px 15px 18px;
  border: 1px solid #a9a9a9;
  margin-bottom: 25px;
  margin-right: 23px;
  border-left: 0;
  margin-left: -3px;
  width: 270px;
}
.comment-form-author, .comment-form-url {

}
.comment-form-comment textarea {
  height: 55px;
  width: 382px;
  padding: 16px 12px 16px 12px;
}

0 个答案:

没有答案