Patent ID: 9338621
Filing Date: 2016-05-10
CPC Classification: G06F,H04W

Claim Text:
1. A mobile terminal based webpage layout method, comprising: rearranging a WWW (world wide web) webpage with PC (personal computer)-based layout according to the following layout rules: based on WWW webpage PC-based layout rules, keeping a width of a block element unchanged, when display effect of the WWW webpage is suitable for wrapping in a screen width, wrapping an inline element inside the block element onto a next line in the screen width of the mobile terminal; when the display effect of the WWW webpage is not suitable for wrapping onto the next line in the screen width for parts including at least a title bar and a navigation bar in the WWW webpage, wrapping the inline element inside the block element onto the next line in the width of the block element or not wrapping the inline element inside the block element onto the next line; when a value of “height” property of the block element is less than a preset range and a background image is set, wrapping the inline element inside the block element onto the next line in the width of the block element, when a “line-height” property of the block element is set, the preset value range of “height” property of the block element is a predetermined value times the line-height; when the “line-height” property of the block element is not set, the preset value range of “height” property of the block element is a predetermined value times a font size of the block element; and displaying the webpage that is rearranged according to the layout rules on the mobile terminal.