HTML CSS examples for CSS Property:background-image
The following example demonstrates how to set the background image position 100 pixels away from the left side.
<html> <head> <style> body {<!--from w w w .j a va 2s. c o m--> background-image: url("https://www.java2s.com/style/demo/Opera.png"); background-position:100px; } </style> </head> <body> <p>Tutorials point</> </body> </html>