23 lines
726 B
HTML
23 lines
726 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Box with larger background image</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|
|
|
<style type="text/css">
|
|
.one {background-image: url(resources/bg_position_larger.gif); background-position: 10px 10px;
|
|
background-repeat: no-repeat; background-color: green; width: 50px; height: 50px;}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
The box below should be solid green. If there are 10 pixels of red visible on the top and left, the background image is being repeated improperly.
|
|
</p>
|
|
<p class="one">
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|