我有一个100%宽度的固定标题.
#header {
background: #2e2e2e;
width: 100%;
z-index: 999;
position: fixed;
}
Run Code Online (Sandbox Code Playgroud)
浏览器滚动条在我的固定div下.如何解决?

我有这个:
<?php
if ( ($cart->count_product) > 0) {
print $cart->count_product;
} else {
print '';
}
?>
Run Code Online (Sandbox Code Playgroud)
我需要把它print $cart->count_product放进去<div class="my_class"></div>
我尝试了不同的方法,但我在语法上缺少一些东西.如果有人可以提供帮助,我会很高兴的.
我有很多图像:
<img src="images/img.jpg" alt="" />
<img src="images/img2.jpg" alt="" />
<img src="images/img3.jpg" alt="" />
<img src="images/img4.jpg" alt="" />
<img src="images/img5.jpg" alt="" />
<img src="images/img6.jpg" alt="" />
<img src="images/img7.jpg" alt="" />
<img src="images/img8.jpg" alt="" />
Run Code Online (Sandbox Code Playgroud)
等等...
如何仅将课程添加到最后五个图像?
感谢名单
我正在使用prestashop 1.5.3.1,我希望在订单支付步骤中获得运营商ID.
在prestashop 1.4我使用{$id_carrier}它并且它工作正常,但它在ps 1.5中不起作用
我想根据选定的运营商显示一种付款方式.例如:
{if $id_carrier == 1}
my content
{/if}
Run Code Online (Sandbox Code Playgroud) 如何从单个数据库表中提取数据?
例如,我需要来自表的数据:categories,column:id为1的描述?
css ×1
css-position ×1
image ×1
javascript ×1
joomla ×1
jquery ×1
php ×1
prestashop ×1
smarty ×1