Eric Jones
3
Q:

how to change image position in css

.image{
  position: absolute;
  right:300px;
}
3
<html>
   <head>
   </head>

   <body>
      <div style = "position:relative; left:80px; top:2px; background-color:yellow;">
         This div has relative positioning.
      </div>
   </body>
</html>
5
#IMAGE_ID {
	position:absolute;
  
  	/*left: (how much pixles from the left you want)px*/
  	left:100px;
  
    /*top: (how much pixles from the top you want)px*/
  	top:100px;
}

#MY_OTHER_IMAGES_ID {
    /*right: (how much pixles from the right you want)px*/
  	right:100px;
  
    /*bottom: (how much pixles from the bottom you want)px*/
  	bottom:100px;
}
2

New to Communities?

Join the community