我有两个网站密封,我试图通过一个简单的页脚看起来很漂亮,而GoDaddy只是不像Trustwave一样好玩,即...
<div class="container">
<div class="row">
<div class="footer">
<div class="col-md-6 col-sm-12 ">
<script type="text/javascript" src="https://sealserver.trustwave.com/seal.js?code=<?= $this->model->getTWKey() ?>"></script>
</div>
<div class="col-md-6 col-sm-12 ">
<span id="cdSiteSeal2"><script type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=cdSiteSeal2&cdSealType=Seal2&sealId=55e4ye7y7mb73952743bf753a95b7cfvma3y7mb7355e4ye734fda9346a2ed18a"></script></span>
</div>
</div>
</div>
</div>
&#13;
我认为这会起作用但对我来说并不好看,即
http://www.sageccpayment.com/index.php?id=4
看起来GoDaddy封印正在填充整个col-md-6 div或其他东西。我不是设计师,所以我不太了解这里发生的事情。
答案 0 :(得分:0)
您需要在两个div上强制相同的高度并使对象/图像居中
实施例
<div class="container">
<div class="row">
<div class="footer">
<div class="col-md-6 col-sm-12 text-center" style="height: 150px;">
<script type="text/javascript" src="https://sealserver.trustwave.com/seal.js?code=<?= $this->model->getTWKey() ?>"></script>
</div>
<div class="col-md-6 col-sm-12 text-center" style="height: 150px;">
<span id="cdSiteSeal2"><script type="text/javascript" src="//tracedseals.starfieldtech.com/siteseal/get?scriptId=cdSiteSeal2&cdSealType=Seal2&sealId=55e4ye7y7mb73952743bf753a95b7cfvma3y7mb7355e4ye734fda9346a2ed18a"></script></span>
</div>
</div>
</div>
</div>