HTML CSS examples for CSS Layout:Absolute Position
Absolutely positioned div with background-size:cover
<html> <head> <style type="text/css"> .popOver {<!-- w w w . j ava 2 s .c om--> position: absolute; left: 100px; right: 100px; top: 100px; bottom: 100px; background-size: cover; background-image: url('http://java2s.com/resources/g.png'); } </style> </head> <body> <div class="popOver"></div> </body> </html>