Page Widget How to - Add a second background image








Question

We would like to know how to add a second background image.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
body {<!--from   w ww.ja  v a2s . com-->
  background: url(http://www.java2s.com/style/download.png) repeat-x,
    url(http://www.java2s.com/style/download.png) 0 80px repeat-y;
}
</style>
</head>
<body>
</body>
</html>

The code above is rendered as follows: