Difference between style = “position:absolute” and style = “position:relative”
问题 Can any one tell me the Difference between style = \"position:absolute\" and style = \"position:relative\" and how they differ in case I add it to div / span / input elements? I am using absolute right now, but I want to explore relative as well. How will this change the positioning? 回答1: Absolute positioning means that the element is taken completely out of the normal flow of the page layout. As far as the rest of the elements on the page are concerned, the absolutely positioned element