Patent ID: 7512876

Claim:
A method of laying out contents targeted for a first device having a first screen size on a screen of a second device having a second screen size smaller than the first screen size, comprising: analyzing a table defined by a tag <table> in the contents to determine a table width of the table in accordance with a predetermined criterion; and performing in response to a result of said analyzing step one of layout operations of: (p1) laying out the table using a typical technique in accordance with the second screen size, and (p2) laying out a row of cells in the table so that at least two cells arranged adjacently in a horizontal direction in the row of the table are aligned horizontally on the screen of the second device based on a predetermined algorithm, wherein the predetermined criterion includes a first criterion that whether or not a condition: (a minimum table width)>(a width of the screen of the second device) is satisfied, the minimum table width of the table being a width of a row in the table when cells of the row of the table is minimized, wherein the predetermined criterion further includes a second criterion that a number of carriage returns of characters in at least one of cells of a row of the table is greater than a certain value when the cells of the row of the table are minimized, wherein when the first criterion is not satisfied, the operation of (p1) is performed, wherein when the first criterion is satisfied, the operation (p2) is performed, and wherein when the second criterion is satisfied, the operation (p2) is performed even if the first criterion is not satisfied.