body {
padding: 10px;
}
.content {
background: blue;
height: 200px;
width: 100px;
position: absolute;
}
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to my Page</title>
</head>
<body>
<div class="content"></div>
</body>
</html>
positon: absolute
does not stick to the top when applied.
I believe there are certain conflicting elements causing the issue, hence it's not completely sticking up as expected.