Twitter Bootstrap文本字段的高度太小? [英] Twitter Bootstrap text field's height too small?
问题描述
我使用bootstrap,我发现文本字段的高度太小。它的像小于10px。我想知道它是小还是我犯了一些错误。
I am using bootstrap and i find the height of the text field is too small.It's like less than 10px.I am wondering if it is small or i made some mistakes.
我使用firebug检查文本区域。它的高度是18px,这对我来说似乎是不可能的...我得到的是相同的,我从这里。从bootstrap示例的文本区域。它让我很困惑...
我得到的是
I used firebug to inspect the text area.It says the height is 18px,which seems impossible for me...And what i got is the same as i got from here.Text area from bootstrap example.It makes me rather confused... what i got is
input, textarea, select, .uneditable-input {
border: 1px solid #CCCCCC;
border-radius: 3px 3px 3px 3px;
color: #555555;
display: inline-block;
font-size: 13px;
height: 18px;
line-height: 18px;
margin-bottom: 9px;
padding: 4px;
}
高度说它是18px,但不是...
The height says it's 18px, but it's not... Can somebody help?!
推荐答案
添加<!DOCTYPE HTML>
应该解决这个问题。此处还提出了相同的问题: twitter的文本输入呈现问题bootstrap.css
Adding <!DOCTYPE HTML>
should fix this. The same question was asked here: text input rendering issue with twitter bootstrap.css
这篇关于Twitter Bootstrap文本字段的高度太小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!