Fixed Positioning

Defines a fixed position for an element.

position: fixed -> And set the values for top, right, bottom and left properties.

snippet
<html>
<head>
</head>
<body>
<div style="height: 500px">
<img src="logo.png" style="position:fixed;top:50px; left:50px;"> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br> content
<br>
</div>
</body>
</html>
Related Tutorial
3. display