Is there a way to position a floating image in the bottom-right corner of text? I have a div with a colored background containing text, and I want to add an image to it at the bottom-right corner. Can CSS help with this?
<div id="myText">
A lot of text here A lot of text here A lot of text here A lot of text here A lot of text here A lot of text here A lot of text here A lot of text here A lot of text here A lot of text here A lot of text here A lot of text here A lot of text here
<img id ="info_ico" src="images/key_ico.png" />
<div>
#myText
{
background:#fdf6cc;
min-height: 90px;
margin-left:1px;
width: 913 px;
padding-left: 30px;
}
#info_ico
{
float:right;
clear:right;
}
If I want to move the image to the bottom of the text, what changes should be made?