7. A computer-readable medium having stored thereon a computer program for performing image forming processing of a structured document including a plurality of element blocks, the computer program making an image forming apparatus execute: analyzing the plurality of element blocks in an appearance order of the structured document, (a) to lay out a first element block with a float attribute in the appearance order of the structured document, and (b) to keep a second element block without the float attribute from laying out until a third element block with a clear attribute appears; laying out the kept second element block without the float attribute into a blank space around the laid out first element block without re-laying out the first element block, when the third element block with the clear attribute appears; and generating image data to form an image based on the laid out first element block and the laid out second element block.
8. The computer-readable medium according to claim 7 , wherein generating data is performed by a printing apparatus.