CSS Tutorial

Relative Positioning

<!DOCTYPE html>
<title>Example</title>
<style>
  div {
    position: relative;
    left: 50px;
    background-color: gold;
    width: 90px;
  }
</style>
<p>Here is the normal flow of content...</p>
<div>
  This div has relative positioning.
</div>
<p>...and here is more content...</p>