Insert Google Drive Worksheet into Website

1

I'm programming an HTML / CSS site, but the client needs to update a spreadsheet that is on the cover of the site.

I was able to insert a spreadsheet created in Google Drive, through an iFrame, but it has white bars on the side and also the title, I would like only the content to appear.

Do you have any other way to do this without using CMS?

    
asked by anonymous 08.07.2014 / 13:45

1 answer

1

You can force an element around IFRAME to move content you do not want to see out of viewport . Example:

<style type="text/css">
#iframe-holder {
    overflow:hidden;
    position: absolute;
    top:-430px;
    bottom:0px;
    left:0;
    right:0;
 }
#iframe-holder iframe {
    width:100%;
    height:100%;
 }
</style>

<div id="iframe-holder">
<iframe src="http://www.wired.com/"frameborder="0"  name="main" scrolling="no"></iframe>
</div>

Original content:

IFRAMEwithinanwrapperwithexplicitpositioning,moving430pixelsup.Notethattheinitialblockdeleted:

    
09.07.2014 / 01:17