34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<html>
|
|
<head>
|
|
<title>background-position</title>
|
|
|
|
</head>
|
|
<body>
|
|
<div style="background:blue url(http://www.lovelylovesayings.com/images/Kissing-in-the-rain-in-black.jpg) repeat top left;
|
|
width:200;
|
|
border:2;
|
|
height:120;
|
|
font-size:13">
|
|
Never pretend to a love which you do not actually feel,<br>
|
|
for love is not ours to command.<br><br>
|
|
Alan Watts
|
|
</div>
|
|
<br><br><br><br>
|
|
<div style="background-color:pink;
|
|
background-attachment:fixed;
|
|
background-image:url(http://www.lovelylovesayings.com/images/Kissing-in-the-rain-in-black.jpg);
|
|
background-repeat:repeat;
|
|
background-position-x:top;
|
|
background-position-y:left;
|
|
width:300;
|
|
border:2;
|
|
height:120;
|
|
font-size:13">
|
|
True love comes quietly, without banners or flashing lights.<br>
|
|
If you hear bells, get your ears checked.<br><br>
|
|
Erich Segal
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|