Reputation: 11
I am working on a website for my first client and I'm having trouble figuring out how to change the size and background colour for an embedded google doc. any help would be very much appreciated. here is a link to my github with the code https://github.com/TheCrimsonLord/Website
Upvotes: 1
Views: 815
Reputation: 270
I assume you are referring to the google doc iframe as seen below
<iframe class="list" src="https://docs.google.com/document/d/e/2PACX-1vRHBRjfZSJaZVq3CGR_mKgzF9ubC7ElGTvAy9j8CBpXt1nJrpbB-_V2_wMHeTCB6i4xsZVcgsykZRRu/pub?embedded=true"></iframe>
If so, changing the width and height can be done using the height and width attributes as so:
<iframe width="1000px" height="800px" class="list" src="https://docs.google.com/document/d/e/2PACX-1vRHBRjfZSJaZVq3CGR_mKgzF9ubC7ElGTvAy9j8CBpXt1nJrpbB-_V2_wMHeTCB6i4xsZVcgsykZRRu/pub?embedded=true"></iframe>
However, manipulating or even styling contents inside an iframe is not possible.
Upvotes: 1