Embed Microsoft Word Doc: Can't Adjust Width

  • I have embedded Google Docs and Scribd just fine. However, when I try to embed a Microsoft Word document, my blog automatically adjusts the width=”402″ height=”327″.

    I have tried setting the width to: auto, 100% and a variation of larger sizes. Every time it reverts back to the default.

    I can embed my Microsoft link into an html document and open in a browser with success. It appears that wordpress.com is making it revert to a smaller size. Can anyone help me fix this?

    Thanks,
    Mike

    The blog I need help with is: (visible only to logged in users)

  • Afraid we cannot help with a private blog, because we cannot examine the code.

  • I’ll make it live. The site isn’t finished yet but I don’t think it will harm anything. I’m still scraping content from another site.

    It is live now. Thanks for the feedback raincoster.

  • Thanks. I’ll paste the code for that here and the look it over. I can’t see any reason for the teeny embed.

    <div class="post-entry">
    					<iframe src="https://onedrive.live.com/embed?cid=7BCD6DD1CB9E080F&resid=7BCD6DD1CB9E080F%216808&authkey=ALKzmxLs2WwAb7U&em=2&wdStartOn=1" width="402" height="327" frameborder="0" scrolling="no"></iframe>
    <iframe class="scribd_iframe_embed" src="//www.scribd.com/embeds/248005634/content?start_page=1&view_mode=&access_key=key-f9ntjCMIZUuTxxw4j9Cc" data-auto-height="true" scrolling="no" id="scribd_248005634" width="100%" height="500" frameborder="0"></iframe>
    <div style="font-size:10px;text-align:center;width:100%"><a href="http://www.scribd.com/doc/248005634">View this document on Scribd</a></div>
    <div id="jp-post-flair" class="sharedaddy sd-rating-enabled sd-like-enabled sd-sharing-enabled"><div class="sharedaddy sd-sharing-enabled"><div class="robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing"><h3 class="sd-title">Share this:</h3><div class="sd-content"><ul><li class="share-press-this"><a rel="nofollow" class="share-press-this sd-button share-icon" href="http://michaeljshull.wordpress.com/portfolio/resume/?share=press-this" target="_blank" title="Click to Press This!"><span>Press This</span></a></li><li class="share-twitter"><a rel="nofollow" class="share-twitter sd-button share-icon" href="http://michaeljshull.wordpress.com/portfolio/resume/?share=twitter" target="_blank" title="Click to share on Twitter" id="sharing-twitter-62"><span>Twitter</span></a></li><li class="share-facebook"><a rel="nofollow" class="share-facebook sd-button share-icon" href="http://michaeljshull.wordpress.com/portfolio/resume/?share=facebook" target="_blank" title="Share on Facebook" id="sharing-facebook-62"><span>Facebook</span></a></li><li class="share-google-plus-1"><a rel="nofollow" class="share-google-plus-1 sd-button share-icon" href="http://michaeljshull.wordpress.com/portfolio/resume/?share=google-plus-1" target="_blank" title="Click to share on Google+" id="sharing-google-62"><span>Google</span></a></li><li class="share-end"></li></ul></div></div></div></div>									</div><!-- end of .post-entry -->
  • I’m going to ask, have you changed the “width=”402″ height=”327″ ” part manually in the text editor? Try changing the width and leaving the height blank.

  • Yes I have changed that with no results. I have even tried to add “width=”900” to the end of the code after I have updated it.

    Nevertheless, I tried adding width=”900″ to the end of the code and it worked this time. Two hours later.

  • OK, everything is working, though, it consistently changes my sizing after pasting my link from Microsoft and updating.

    Here is how I fixed it: (I might add I tried this a few hours ago…it’s getting late)

    [office src="https://onedrive.live.com/embed?cid=7BCD6DD1CB9E080F&resid=7BCD6DD1CB9E080F%216808&authkey=ALKzmxLs2WwAb7U&em=2&wdStartOn=1"]

    [office src="https://onedrive.live.com/embed?cid=7BCD6DD1CB9E080F&resid=7BCD6DD1CB9E080F%216808&authkey=ALKzmxLs2WwAb7U&em=2&wdStartOn=1" width="900" height="500"]

  • Thanks. Weird that it was being overridden before.

  • The topic ‘Embed Microsoft Word Doc: Can't Adjust Width’ is closed to new replies.