
13
<p style="float: right; margin: 30px 0 30px 30px">
<img src="http://spreadsheets.google.com/pub?key=pLPFsG-ujjlXByXdTYUGLYA&oid=3&output=image" />
</p>
In preceding example, there is an additional style denition
to position the image to the right of the
text. The margin values are provided in the clockwise order of top, right, bottom, left.
If you switch to the normal editing mode and then back to Edit HTML mode, you’ll notice that Google has
entity-escaped the URL for you (changing
& to &). This is nothing to worry about, and in fact it will make
sure your document is valid HTML.
Note this method of embedding the chart also works with any other webpage, such as a blog post.
To publish the Google document as a web page, choose Share→“Publish as web page”; select
“Automatically re-publish . . .” here too, if you want to ensure that all your future edits will be
reected in the document. Note that you should not pick the automatic republishing option if
you don’t want people to see your changes in real time. Instead, wait until you’re done with your
revisions, click Share→“Publish as web page”, and then click “Re-publish document.”
To everyone except those with editing rights for your document, the result will look as pictured in
Figure 1-15. (If editing rights are available, the document will appear inside a Google Docs editor.) And
now, whenever you change any of ...