We would like to know how to background-repeat: no-repeat;.
<html>
<head>
<style>
body {<!-- w ww. j av a 2 s. co m-->
background-image: url("http://java2s.com/style/download.png");
background-repeat: no-repeat;
background-color: #eaeaea;
}
</style>
</head>
<body>
<p>This example illustrates the
<b>background-repeat</b> property with a value of <b>no-repeat</b>.</p>
</body>
</html>
The code above is rendered as follows: