I think you probably just want to make the image float right. See the inline CSS on the image tag in this example.margin-right: 18px width: 200px position:relative text-align:right
.3 Months Ago. or you could add that as a background-image and add the followingbackground-position:top right background-attachment:fixed Try it here. I am making one div in that I want to align image on right of that div and fill up color of same image on otheris not aligning right to it.The main problem is that I dont want to use tag inside div, I want to to use image as background image of.
.Here is a sample code on how you can use this property for this purpose: . right . float:right width:300px background-color:b0e0e6 Problems with Compatibility in Using the Float Property.CSS Image Gallery 101. CSS Navigation Bar. The CSS Horizontal Align. up vote 21 down vote. .
right-align-background background-position: center rightHow to align content of a div to the bottom? 1902. How do I give text or an image a transparent background using CSS? Aligning background image to right. .right-align-background Browse other questions tagged css image html or ask your own question.html align bottom right right justify div. The next div has a background color and its own paddings and should be aligned right-->