The invention discloses an
adaptation method and device for display of a
web application. The
adaptation method for display of the
web application comprises the following steps that a virtual window used for displaying a
Web page is established on a mobile terminal, and the width resolution ratio of the virtual window is set to be a fixed value; a picture is loaded, the width resolution ratio of the picture is set to be the same as that of the virtual window, and the equal-proportion zooming is conducted on the picture till the width of the image is the same as that of the virtual window; the picture is set to be the background and is displayed in the virtual window. According to the
adaptation method for display of the
web application, the virtual window with the width resolution ratio being the fixed value is established in the mobile terminal to be used for displaying the
Web page, in this way, it is guaranteed that the
Web page in the web application of the mobile terminal is displayed consistently, and deformation of the page is avoided; the picture is loaded, the width resolution ratio of the loaded picture is set to be the same as that of the virtual window, the width of the loaded picture is the same as that of the virtual window, then the picture is set to be the background to be displayed, and thus it is guaranteed that
distortion does not occur during displaying and user experience is not affected.