Skip to content

Instantly share code, notes, and snippets.

@firmread
Created February 4, 2016 03:07
Show Gist options
  • Save firmread/3212c065cb49e8149fdc to your computer and use it in GitHub Desktop.
Save firmread/3212c065cb49e8149fdc to your computer and use it in GitHub Desktop.
note on how to make clipped iframe
<!-- <div id="content">
<div style="height:800px;">
<iframe id="optomaFeed" src="http://www.optomausa.com/company/press-releases/" scrolling="auto"
frameborder="0" height="100%" width="100%"></iframe>
</div>
</div> -->
<div id="content">
<div style="height:800px;">
<iframe id="optomaFeed" src="http://www.optomausa.com/company/press-releases/" scrolling="no"
frameborder="0" height="100%" width="100%" style="position:absolute; clip:rect(190px,1100px,800px,250px);
top:-160px; left:-160px;"></iframe>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment