views:

58

answers:

0

The new Google Docs allow an image to be placed in the middle of the text, something like "float: center" if it existed in HTML/CSS. As this is impossible to achieve in HTML/CSS, I was wondering how is this implemented? Some JavaScript taking over the native rendering of text paragraphs?

Out of curiosity, I downloaded such document as a zipped HTML, opened in a local browser and "indeed" the layout was broken. So it must be some magic in the online editor I guess...