javascript - How to remove Google Web Elements from google new Iframe? -


how remove google web elements google news of iframe.

<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> 

use div wrapper, position: relative; then, set position: absolute; iframe, , set negative position left.

http://jsfiddle.net/3yx9f/

html:

<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> 

css:

.frame-wrap {     position: relative; } .gnews {     position: absolute;     top:0;     left: -172px; } 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -