<!doctype html> | |
<title>CSS Reftest Reference: background-attachment: local</title> | |
<link rel="author" title="Simon Sapin" href="http://exyr.org/about/" /> | |
<style> | |
#outer { | |
border: solid; | |
background: url(aqua-yellow-32x32.png) local no-repeat 178px 278px; | |
overflow: hidden; | |
width: 200px; | |
height: 300px; | |
} | |
div div { | |
width: 250px; | |
height: 370px; | |
} | |
p { | |
margin: 0 0 0 -40px; | |
padding-top: 40px; | |
} | |
</style> | |
<div id=outer> | |
<div> | |
<p>Lorem ipsum dolor sit amet</p> | |
</div> | |
</div> |