我遇到了问题,我尝试更改嵌入式Google日历的最大宽度,但它只是忽略了“width”标记。
代码:<div style="margin: 0 auto; margin-top: -15px; margin-bottom: 5px;" id="links">
<iframe src="http://www.google.com/calendar/embed?showTitle=0&showNav=0&showTabs=0&showPrint=0&showCalendars=0&mode=AGENDA&height=600&wkst=2&hl=en_GB&src=wvgeleen%40gmail.com&color=%23A32929&ctz=Europe%2FAmsterdam" style="border-width: 0pt;" mce_style=" border-width:0 " frameborder="0" height="400" width="300"></iframe> <hr/>
网址:ttp://rvmouche.nl/wvg/agenda.php(查看)&amp; ttp://rvmouche.nl/wvg/themes/cloreo/agenda.php(来源)
我更改了Google的嵌入代码,并添加了一些css(负边框等)并且它有效!感谢Vic Degreave
<div style="margin: 0 auto; margin-top: -15px; margin-bottom: 5px; margin-left: -25px;" id="links">
<iframe id="blockrandom" name="iframe" src="https://www.google.com/calendar/embed?showTitle=0&showTz=0&mode=AGENDA&height=600&wkst=2&hl=nl&bgcolor=%23FFFFFF&src=wvgeleen%40gmail.com&color=%23853104&src=nl.dutch%23holiday%40group.v.calendar.google.com&color=%2328754E&src=wvgagendawp%40gmail.com&color=%23060D5E&ctz=Europe%2FAmsterdam" style=" border-width:0 " width="310px" height="600" frameborder="0" scrolling="no">"
width="10%"
height="500"
scrolling="yes"
align="top"
frameborder="0"
class="wrapper">
Helaas, uw browser ondersteunt geen inline frames. Daardoor zal deze optie niet correct werken.</iframe> Terug naar de <a href="index.php">hoofdpagina</a>
</div>