11. A method for providing a document stored on a cloud computing service to a client computer for rendering, the method comprising: storing a document on the cloud computing service; storing a rendering function for rendering the document, wherein the rendering function comprises instructions to: determine a maximum height of a portion of text in the document; insert into the portion of text a spacer element with a height greater than the maximum height of the portion of text; adjust, by an offset, a vertical position of the portion of text and the spacer element, wherein a baseline of the portion of text is determined from the height of the spacer element and the offset; and render the portion of text on the web browser based at least in part on the baseline; and sending the document and the rendering function to a client computer.
11. A method for providing a document stored on a cloud computing service to a client computer for rendering, the method comprising: storing a document on the cloud computing service; storing a rendering function for rendering the document, wherein the rendering function comprises instructions to: determine a maximum height of a portion of text in the document; insert into the portion of text a spacer element with a height greater than the maximum height of the portion of text; adjust, by an offset, a vertical position of the portion of text and the spacer element, wherein a baseline of the portion of text is determined from the height of the spacer element and the offset; and render the portion of text on the web browser based at least in part on the baseline; and sending the document and the rendering function to a client computer. 17. The method of claim 11 , wherein the vertical position of the portion of text and the spacer element is defined by a top margin.