Patent ID: 7900137
Filing Date: 2011-03-01
Classification: G06F

Abstract:
1. Method for modifying and presenting content in a document written in a markup language for presentation as a page on a display screen of a device with smaller resolution than the document originally is designed for, by means of a browser installed on the device, the markup language document comprising a plurality of containing elements which contain content, the document having at least one multi-column table, the method comprising the steps of: determining a final width for at least some of the containing elements for rendering on the display screen, wherein: for each of the at least some of the containing elements which is a table cell, calculating a minimum width and applying the calculated minimum width as a lower limit for the final width of the cell, the minimum width of the cell being calculated by: overriding any author defined width by setting the width of the cell to auto, and in the event the cell comprises replaced content external to the document, ignoring the width of the replaced content of the cell; for each of the at least some of the containing elements which contains non-wrapping content, resizing the non-wrapping content by shrinking or squeezing such content to fit inside the determined final width of the containing element; repositioning any page element in the document determined to be positioned outside the width of the display screen based on size and functionality of the page element; for each of the at least some of the containing elements which contains text subject to a wrapping property explicitly defined by an author to restrict wrapping of the text, wrapping the text by overriding the wrapping property when necessary to prevent the text from extending beyond the determined final width of the containing element; and displaying the document on the display screen according to the determined final widths of the at least some of the containing elements and the repositioning, wherein in the event the document includes a multi-column table, the document is displayed in accordance with the determined final widths in such manner as to preserve the multi-column layout of the table cells in the table.