gpt4 book ai didi

jquery - Twitter Bootstrap 未正确显示

转载 作者:行者123 更新时间:2023-12-01 06:50:55 25 4
gpt4 key购买 nike

所以我正在寻找这个:http://twitter.github.com/bootstrap/base-css.html#forms内联表单 .form-inline

现在在我的页面上,输入看起来像没有填充一样连线:

实例:此处: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 -->

这是它的样子:

enter image description here
它需要与登录按钮具有相同的高度。我的页面上包含 css 和 js 文件!

最佳答案

这似乎是 Bootstrap 的 JSbin 错误。其他测试站点(和本地主机)表明这可以按预期工作。

Bootstrap 将输入字段的高度设置为 20px,但尚未应用。答案尚不清楚,但您可以随时前往https://github.com/remy/jsbin/issues/new并提交新问题。

关于jquery - Twitter Bootstrap 未正确显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15069737/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com