我有两个站点标章,我试图在一个简单的页脚中使其看起来不错,而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>
我当时以为这可以用,但对我来说不好
http://www.sageccpayment.com/index.php?id=4
看起来GoDaddy封印正在填充整个col-md-6 div或其他内容。我不是设计师,所以我不太了解这里发生的事情。
最佳答案
您需要在两个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>
关于css - 在Bootstrap 3页脚中设置GoDaddy网站密封的样式,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/27845772/