position:absolute; top:0; left:0; width:150px; height:100px;
In this page is a black absolute positioned DIV element. If the HTML element has margin and/or border properties, they should move the block to the right. The padding property for the HTML should move only the content to the right but not the absolute positioned element.
Border, padding and margin properties for the BODY element should not move the position of the absolute positioned element to the right. Only the content should be moved to the right.
html {
border-left:50px solid olive;
padding-left:100px;
margin-left:100px}
Correct and incorrect positions of the DIV element and the main content:
DIV element should be 150px from the left edge of the page.250px from the left edge of the page.DIV to the right.DIV to the right only 50px (the value of the border property for HTML).150px to the right (margin for the HTML element doesn't work).