正确使用内联“样式” - 属性

时间:2017-12-04 21:47:10

标签: html css inline

我目前正在尝试通过iframe集成Google日历并使用内联属性。我有以下解决方案但由于任何原因没有显示任何内容。任何人都可以告诉我这里出了什么问题:(?我正在使用CMS,因此我需要通过内联属性提供响应式解决方案。

<div style="position: relative; padding-bottom: 75%; height: 0; overflow: hidden;">

  <iframe src="https://calendar.google.com/calendar/embed?showTitle=0&amp;showDate=0&amp;showPrint=0&amp;showCalendars=0&amp;showTz=0&amp;height=600&amp;wkst=2&amp;hl=nl&amp;bgcolor=%23FFFFFF&amp;src=example.be_cpkbjcpttgb5q0%40group.calendar.google.com&amp;color=%23ffcf03&amp;ctz=Europe%2FBrussels"
    style="position: absolute; top:0; left: 0; width: 100%; height: 100%; border-width:0;" width="800" height="600" frameborder="0" scrolling="no"></iframe>
</div>

0 个答案:

没有答案
相关问题