The invention discloses a page layout self-adaptation method and device. Program codes for adjusting page layout are inserted; based on the inserted program codes, the screen display width of a mobile terminal is obtained; according to the obtained screen display width, the page display width of a webpage is adjusted based on the preset proportion; according to the page display width, the display widths of elements which form the page of the webpage are adjusted, meanwhile, the display positions of the elements are arranged to be in a floating display mode; the webpage does not need to be designed and modified again, the page of the webpage can be automatically adaptive to a mobile terminal display screen, the display effect of the original webpage is not affected at all, the man-machine interactivity is improved; in addition, self adaptation can be achieved only by inserting corresponding JS codes, a large amount of manpower is saved, meanwhile, if corresponding visual effect needs to be changed, only corresponding codes need to be changed, cost is low, and later-period maintaining and upgrading are convenient.