HTML CSS examples for CSS Layout:Absolute Position
Left:0; full stretch without absolute positioning
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> html, body, div { width:100%; height:100%; } html, body { margin:0; padding:0; } div {<!-- w ww . j ava 2 s . c om--> background:blue; } </style> </head> <body> <div></div> </body> </html>