Behavior of absolutely positioned element without specified top,right,bottom,left, etc - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Absolute Position

Description

Behavior of absolutely positioned element without specified top,right,bottom,left, etc

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
#abs {<!-- w w  w.  ja  v  a  2s. c om-->
   position:absolute;
}
</style> 
 </head> 
 <body> 
  <div>
    Lorem i 
  </div> 
  <div id="abs">
    Lorem ipsum do 
  </div> 
  <div>
    Lorem ipsu 
  </div>  
 </body>
</html>

Related Tutorials