为什么此代码会在我的网站上生成空白区域?

时间:2015-03-19 10:17:27

标签: html css wordpress

我有a WordPress website,其中我写了以下代码,

<h3 style="width: 200px; margin: 0 auto;margin-bottom:25px;margin-top:15px;  text-align: center; font-size: 30px; color: #305f67;"><a id="OurTeam"></a>Our Team</h3>

该代码在网站上的另一个页面和jsfiddle上运行良好,但在我将其放在同一页面上的新位置时无效。它显示空白。请指导。感谢。

1 个答案:

答案 0 :(得分:2)

<img class="alignnone size-full wp-image-2835" width="2744" height="790" alt="Complete - NayaJeevanWebsiteDesign" src="http://www.inspuratesystems.com/nayajeevan/wp-content/uploads/2014/11/pic-1-edit1.jpg" style="margin-top: -140px;">

删除margin-top:-140px;我正在让我们的队伍变成绿色