Javascript 如何从Google新Iframe中删除Google Web元素?

Javascript 如何从Google新Iframe中删除Google Web元素?,javascript,iframe,cross-domain,google-news,Javascript,Iframe,Cross Domain,Google News,如何从iframe的Google新闻中删除Google Web元素 <iframe frameborder=0 marginwidth=0 marginheight=0 border=0 style="border:0;margin:0;width:275px;height:300px;" src="http://www.google.com/uds/modules/elements/newsshow/iframe.html?rsz=large&format=275x300&

如何从iframe的Google新闻中删除Google Web元素

<iframe frameborder=0 marginwidth=0 marginheight=0 border=0 style="border:0;margin:0;width:275px;height:300px;" src="http://www.google.com/uds/modules/elements/newsshow/iframe.html?rsz=large&format=275x300&hl=en&q=google&element=true" scrolling="no" allowtransparency="true"></iframe>

使用div作为包装,位置为相对然后,设置一个
位置:绝对到您的
iframe
,并将负位置设置为左侧

HTML:


好吧,答案是X,但如果我想改变iframe内容的宽度,怎么可能呢
<div class="frame-wrap">
    <iframe frameborder=0 marginwidth=0 marginheight=0 border=0 style="border:0;margin:0;width:800px;height:300px;" src="http://www.google.com/uds/modules/elements/newsshow/iframe.html?rsz=large&format=275x300&hl=en&q=google&element=true" scrolling="no" allowtransparency="true" class="gnews"></iframe>
</div>
.frame-wrap {
    position: relative;
}
.gnews {
    position: absolute;
    top:0;
    left: -172px;
}