A method and system for adjusting webpage layout are disclosed. The method includes calculating a width for displaying an image on a webpage: determining whether the image is inserted in a segment of text of the webpage: and adjusting the size of the image display based on a mobile terminal"s screen width and the width for displaying the image, if the image is inserted in the segment of text of the webpage. The disclosed methods and systems adjust the images on a webpage based on the width of the image and the screen width of a mobile terminal. As such, an adjusted webpage can be viewed by scrolling up and down the display screen. In addition, a user"s online experience may be further improved by adjusting the images on the webpage to be left justified and aligned with the text oil the page, A user does not need to scroll horizontally (e.g.. from left to right) to read the webpage including the images.
展开▼