Text input rendering issue with Twitter Bootstrap

后端 未结 8 1499
天命终不由人
天命终不由人 2020-12-15 04:18

I\'m trying to use Twitter\'s bootstrap for a quick few pages. I\'m having problems getting text fields to render like they do at http://twitter.github.com/bootstrap/

8条回答
  •  南笙
    南笙 (楼主)
    2020-12-15 05:00

    My file has been created within Windows and I had a similar problem, i.e. the height was too small so descenders were truncated. My file has some PHP as the first lines followed by the required html. After reading all the comments, I moved my (2 lines) to the top ahead of the PHP and the height increased ... so problem resolved. It appears that DOCTYPE must be at the start even before any PHP.

提交回复
热议问题