摘要 |
<p>The present disclosure provides a method and an apparatus of controlling a page element. The embodiments of the present disclosure create an auxiliary page element according to a Web page (a size of the auxiliary page element being a size of the Web page), and obtain a size of a frame of the auxiliary page element based on the size of the auxiliary page element and the size and a position of the target page element, thus allowing to configure a manner of displaying the frame of the auxiliary page element to be different from a manner of displaying the target page element. Since the target page element is not separated from a document flow of the Web page at all times, the problem of reconfiguring a style of a replicated page element caused by separation of the replicated page element (i.e., the target page element) from the document flow of the Web page in existing technologies is thus avoided. The operations are simple with high accuracy, thereby improving the efficiency and the reliability of page element control.</p> |