Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jun 2001
    Location
    USA
    Posts
    708
    Thanks
    48
    Thanked 1 Time in 1 Post

    Embedding a Google Doc in WordPress

    Hi there!

    I'm in the process of embedding a bunch of Google Docs in my WordPress blog. Here are two examples: Here and here.

    The problem is, while they both look fine in Firefox, Internet Explorer considerably shrinks the iframe box, to the point where it's practicably unreadable.

    The iframe code I'm using is pretty simple:

    <hr><iframe src="http://docs.google.com/View?docid=dgcmq8ts_22cjhr7dhn" width=500″ height=750″></iframe><hr>
    Any idea what's wrong, and what I can do to fix it?

    Thanks so much!

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Embedding a Google Doc in WordPress

    What if you try adding a style attribute:
    <code><iframe src="http://docs.google.com/View?docid=dgcmq8ts_22cjhr7dhn" width="500" height="750"; style="height:500px; width:750px"></iframe></code>

    Note: I had to edit this post because your original HTML seemed to include "curly" or "smart" quotes. Make sure to always use standard "straight" quotation marks in HTML to avoid problems.

  3. #3
    5 Star Lounger
    Join Date
    Jun 2001
    Location
    USA
    Posts
    708
    Thanks
    48
    Thanked 1 Time in 1 Post

    Re: Embedding a Google Doc in WordPress

    Perfect! Thanks a lot!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •