Relative position image : position : Layout HTML CSS TUTORIALS


HTML CSS TUTORIALS » Layout » position »

 

Relative position image


 
<html>
<head>
<title>Relative position image</title>
<style type="text/css">
.relative {
 position: relative; 
 top: 100px; 
 left: 20px;
}
</style>
</head>

<body>

   <img src="http://www.navioo.com/style/logo.png" class="relative" alt="cover" />
     <p>This is a test.</p>
  
</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Layout
» position