如何调整图片

时间:2015-08-02 18:05:37

标签: css

我正在尝试调整像Reebok网站这样的图片,这里是截图 http://postimg.org/image/6lvroax27/

我的 wordpress 网站截图 - > http://postimg.org/image/ipmq9o44j/

我想要交叉两个图像并删除图像上方的边距
我的网站 - >的 www.cardmart.tk
图片在主页上


它是否高于图像边距?不确定,因为我在微小的mce中取消选中它但是仍有边距。左。抱歉这么多链接
谢谢!

1 个答案:

答案 0 :(得分:1)

我认为边框更多地与图像本身有关,但我确实检查了光源并且周围有15px的边框(边距)

在你的css中设置:

.row, .col-md-6{margin:0!important; padding:0!important}

这是令人讨厌的代码

<div class="col-md-6"></div></p><h6 style="text-align: center;"><span style="color: #424242;">Wedding Invitations</span></h6><p><span style="display:block;clear:both;height: 0px;padding-top: 20px;"></span></p><p style="text-align: center;"><span style="color: #928b8b; font-size: 24pt;">Are You RSVP ready?</span></p><p style="text-align: center;"><span style="display:block;clear:both;height: 0px;padding-top: 20px;"></span></p><p style="text-align: center;"><span style="color: #808080;"> </span><strong><span style="color: #424242; font-size: 14pt;">Take a look at our exclusive collection you will fall in love<br /> with it after all wedding is all about love &amp; commitment </span></strong></p><p></div></div></p></div></div></div><div class="so-panel widget widget_black-studio-tinymce panel-last-child" id="panel-2-1-0-1"><div class="textwidget"><p><div class="row"> <div class="col-md-6"></p>
<h6 style="text-align: center;">Print My Design</h6>
<p><span style="display:block;clear:both;height: 0px;padding-top: 20px;"></span></p>
<p style="text-align: center;"><span style="font-size: 24pt; color: #808080;">Your Design + Our Print</span></p>
<p style="text-align: center;"><span style="display:block;clear:both;height: 0px;padding-top: 20px;"></span></p>
<p style="text-align: center;"><span style="font-size: 14pt;"><strong>You submit your design &amp; we provide our </strong><strong>quality </strong></span></p>
<p style="text-align: center;"><span style="font-size: 14pt;"><strong> printing service.</strong></span></div><div class="col-md-6"> <a href="http://cardmart.tk/wp-content/uploads/2015/07/rsz_maxresdefault_1.jpg" data-rel="lightbox"><img class="alignright size-full wp-image-477" src="http://cardmart.tk/wp-content/uploads/2015/07/rsz_maxresdefault_1.jpg" alt="rsz_maxresdefault_1" width="675" height="320" /></a></p>
<p></div></div>