Set position of background image in pixels

Tue Nov 08, 2011 10:46 pm

Set position of background image in pixels
Code:

  
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
    <head>
        <title>Set position of background image</title>

<
style type="text/css">

body {
 background-image: url(1.jpg);
 background-position: 100px 75px;
 margin: 5px; 
}
 
</style>

    </head>
    <body>
    <center>
<
p>
  This is an example of changing the background image position.!!!
</
p>

    </center>
     
  
</body>
</
html>
 




  Related Posts  to : Set position of background image in pixels
 right bottom background image position     -  
 Get image pixels Values in ITK     -  
 X and Y background position     -  
 setting div background position     -  
 Change background position when mouse over     -  
 Move image in front of a background image     -  
 No repeated background image     -  
 Hide the background image by one click     -  
 Repeat background image on x axis     -  
 Table background image problem     -  

Topic Tags

CSS Background