programming-examples/css/Positioning Backgrounds - Background Attachment Scroll.html
2019-11-15 12:59:38 +01:00

23 lines
625 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:subLang="en">
<head>
<title>Positioning Backgrounds - Background Attachment Scroll</title>
<style type="text/css">
body {
font: 12px Arial, Helvetica;
margin: 16px;
color: green;
background-color: pink;
background-image: url(background-image.gif);
background-attachment: scroll;
}
</style>
</head>
<body>
<p>A woman knows the face of the man she loves as a sailor knows the open sea.<br><br>
Honore de Balzac</p>
</body>
</html>