gpt4 book ai didi

css - 摆脱 Twitter Bootstrap 跨度 margin

转载 作者:太空宇宙 更新时间:2023-11-03 18:39:49 25 4
gpt4 key购买 nike

我正在使用 bootstrap 并尝试让两个 span 并排显示,同时还删除 span 之间的白色边距。
如果我执行代码,每个 span 之间会有一个白色边距

我的代码是:

<li class="span4" >
<div class="thumbnail">
<img src="img/placeholder-360x200.jpg" alt="product name">
<div class="container row-fluid">
<b>
<span class="span6 nospace" id="one"> <font size ="5px"><i>PHP 100,000</i></span>

<span class="span6 nospace pull-right" id="two" >50% Off </span>
</font>
</b>

</div>
<div class="caption">

<p>
Few attractive words about your product.Few attractive words about your product.
</p>

</div>

<div class="widget-footer">
<p>
<a href="#" class="btn btn-primary">Buy now</a>&nbsp;
<a href="product.html" class="btn">Read more</a>
</p>
</div>

</div>
</li>

虽然我尝试在 CSS 上添加这个:

.nospace{

左边距:0;

这是我的代码给我的:

enter image description here

这是我正在尝试做的事情:

enter image description here

最佳答案

你应该在 row-fluid 类中使用 span 类来去除边距

关于css - 摆脱 Twitter Bootstrap 跨度 margin ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17851156/

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