对于所有阅读此消息的温和派,我曾在另一个线程中询问过它,但被告知将其作为一个独立的问题发布。不是我想要弄乱论坛的意图
由于某种原因,我的 twitter 引导容器向左移动。尽管有分辨率,有没有办法让它占据整个屏幕?当我使用 .container-fluid 时,它似乎缩小了整个容器(即使我将 .row-fluid 添加到所有行)。
我的警报宽度没有增加。也就是说,我希望警报(背景颜色和所有)是容器的宽度。在下面的链接中,我希望“如果这是您要编辑的广告登录名”跨越整个容器。但是,当我尝试 .span12 时,它只会改变警报。还有宽度:100%;无济于事。此外,当我按下登录并发生登录错误时,该错误显示在登录表单的最左侧而不是右侧。
** 关于第 2 和第 3 项,请参阅此链接https://twitter.com/HassanNSaid/status/355797180063301632/photo/1 ** 请求代码
<div class="container-fluid">
<div class="row well">
<?php
loginFunc();
miniLogo();
searchFunc();
otherOptions();
?>
</div>
<div class="row">
<center>
<?php
if(isset($_GET['error_with_new_title'])){
echo'<span class="alert-error">'.$_GET['error_with_new_title'].'</span>';
}elseif(isset($_GET['success_with_new_title'])){
echo'<span class="alert-success">'.$_GET['success_with_new_title'].'</span>';
}elseif(isset($_GET['error_with_new_vitals'])){
echo'<span class="alert-error">'.$_GET['error_with_new_vitals'].'</span>';
}elseif(isset($_GET['success_with_new_vitals'])){
echo'<span class="alert-success">'.$_GET['success_with_new_vitals'].'</span>';
}elseif(isset($_GET['error_with_new_description'])){
echo'<span class="alert-error">'.$_GET['error_with_new_description'].'</span>';
}elseif(isset($_GET['success_with_new_description'])){
echo'<span class="alert-success">'.$_GET['success_with_new_description'].'</span>';
}else{
echo'<span class="alert">If this is your ad please log in to edit it!</span>';
}
?>
</center>
</div>
<div class="row page-header text-center">
<?php
if(isset($_SESSION['id'])){
$i = $_SESSION['id'];
printAdTitle($i);
}else{
$i = 0;
printAdTitle($i);
}
?>
</div>
<div class="imagesAndVitals">
<div class="row span9">
<center>
<? printAdImages($_GET['id']); ?>
</center>
</div>
<div class="row tabbable span6" style="height:374px;">
<ul class="nav nav-tabs">
<li class="active"><a href="#adVitalsPane" data-toggle="tab"> Ad Vitals</a></li>
<li><a href="#contactUserPane" data-toggle="tab">Contact Seller</a></li>
</ul>
<div class="contactVitalsDiv">
<div class="tab-content">
<div class="tab-pane active" id="adVitalsPane">
<?php
if(isset($_SESSION['id'])){
$i = $_SESSION['id'];
printAdVitals($i);
}else{
$i = 0;
printAdVitals($i);
}
?>
</div>
<div class="tab-pane" id="contactUserPane">
<?php
if(isset($_SESSION['id'])){
$i = $_SESSION['id'];
printAdContactForm($i);
}else{
$i = 0;
printAdContactForm($i);
}
?>
</div>
</div>
<div class="ratingForm">
<?php
$adId = $_GET['id'];
printRatingForm($adId);
?>
</div>
</div>
</div>
</div>
<div class="row text-center descriptionDiv">
<?php
if(isset($_SESSION['id'])){
$i = $_SESSION['id'];
printAdDescription($i);
}else{
$i = 0;
printAdDescription($i);
}
?>
</div>
<div class="row">
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active">
<a href="#similarItmesPane" data-toggle="tab">Similar Items</a>
</li>
<li>
<a href="#otherUserItemsPane" data-toggle="tab">User's Other Items</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="similarItmesPane">
<? printSimilarItems(); ?>
</div>
<div class="tab-pane" id="otherUserItemsPane">
<? printOtherItems(); ?>
</div>
</div>
</div>
</div>
</div>