我在专为我们公司制作的CMS中工作。我试图找出如何在此图片下方插入文字。如果我能让文字在图片寄存器中居中,那就太棒了。我只是用HTML编辑,无法访问或制作样式表......我想......下面是代码。
<a href="/products/details/for-the-hair/shampoo-bars/extra-honey-beer-shampoo">
<img alt="Extra Honey Shampoo" src="/_CE/pagecontent/Images/idascorner/extrahoneypoo.jpg" class="pull-image-right" style="width: 250px; height: 200px; margin-top: 20px;" />
</a>
答案 0 :(得分:0)
根据您的需要,您可以选择:
<a href="/products/details/for-the-hair/shampoo-bars/extra-honey-beer-shampoo">
<img alt="Extra Honey Shampoo" src="/_CE/pagecontent/Images/idascorner/extrahoneypoo.jpg" class="pull-image-right" style="width: 250px; height: 200px; margin-top: 20px;"><br>
YOUR TEXT HERE
</a>
或:
<a href="/products/details/for-the-hair/shampoo-bars/extra-honey-beer-shampoo">
<img alt="Extra Honey Shampoo" src="/_CE/pagecontent/Images/idascorner/extrahoneypoo.jpg" class="pull-image-right" style="width: 250px; height: 200px; margin-top: 20px;">
</a><br>
YOUR TEXT HERE