所以我在寻找这样的:http://twitter.github.com/bootstrap/base-css.html#forms内联形式.form-inline
Twitter的引导不正确的显示
现在我的网页上输入看上去像有线他们没有填充:
活生生的例子:在这里:http://jsbin.com/ariret/1/edit
这里是我的代码:
<div class="navbar">
<div class="navbar-inner">
<form class="form-inline" action="<?php echo $this->baseUrl('login'); ?>" id="form-login" method="post">
<input type="text" class="input-small" id="email" name="email-login" placeholder="<?=$this->translate('Email');?>">
<input type="password" class="input-small" id="password" name="password-login" placeholder="<?=$this->translate('Password');?>">
<label class="checkbox">
<input type="checkbox" name="keep-logged" value="1" id="check-logged"> <?=$this->translate('Remember me'); ?>
</label>
<input type="hidden" name="login_type" value="normal" />
<button type="submit" class="btn"><?=$this->translate('Login');?></button>
</form>
</div><!-- end navbar-iner -->
</div><!-- end navbar -->
在这里,它是如何看起来像:
它需要与登录按钮具有相同的高度。 我的页面上包含了css和js文件!
您是否有任何自定义css影响您的输入?这是很难调试只有看到HTML。一个链接到你的项目将是有益的。 – Jrod 2013-02-25 14:55:21
伟大的问题!这是一个jsbin链接,它重现了这个问题:http://jsbin.com/ariret/1/edit – GolfWolf 2013-02-25 14:59:42
@Jrod no,你可以在这里看到:http://jsbin.com/ariret/1/edit thx w0lf – Uffo 2013-02-25 15:03:03