编辑Sagepay帧内CSS

时间:2015-05-27 09:01:00

标签: css iframe sagepay

我目前正在几个网站上使用Sagepay的框架。

问题在于框架没有响应,我希望尽可能快地将其视为iframe。

有没有办法更改模板或使用我自己的CSS或html编辑模板?我刚才听说过,但现在找不到任何相关内容。

2 个答案:

答案 0 :(得分:0)

以下是使其响应的代码:

<强> HTML:

<div class="google-maps">
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d7098.94326104394!2d78.0430654485247!3d27.172909818538997!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2s!4v1385710909804" width="500" height="450" frameborder="0" style="border:0"></iframe>
</div>

<强> CSS:

.google-maps {
    position: relative;
    padding-bottom: 90%;
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

JSFIDDLE

答案 1 :(得分:0)

在与Sagepay交谈后,我发现我可以在此处下载自定义模板:http://www.sagepay.co.uk/support/find-an-integration-document/server-inframe-integration-documents然后您可以将其发送给Sagepay。