PaulHolmes
MIS
Hi
I seem to be struggling with the background-position element and I am now starting to pull my hair out!
I have a container and within that I have another element with an image which I would like to appear at the bottom right of the container.
CSS
.container
{
width:146px;
height:250px;
float:left;
margin: 0px 0px 0px 0px;
}
.button-sml
{
background-imageimages/generic/button_sml.gif);
background-position: right bottom;
background-repeat: no-repeat;
width:122px;
height:21px;
text-align:right;
}
.colpadding
{
padding: 0px 0px 0px 10px;
}
HTML
<div class="container">
<div class="colpadding">
<div class="button-sml"><a href="#">More</a></div>
</div>
</div>
Any help would be most appreciated.
Thank you.
I seem to be struggling with the background-position element and I am now starting to pull my hair out!
I have a container and within that I have another element with an image which I would like to appear at the bottom right of the container.
CSS
.container
{
width:146px;
height:250px;
float:left;
margin: 0px 0px 0px 0px;
}
.button-sml
{
background-imageimages/generic/button_sml.gif);
background-position: right bottom;
background-repeat: no-repeat;
width:122px;
height:21px;
text-align:right;
}
.colpadding
{
padding: 0px 0px 0px 10px;
}
HTML
<div class="container">
<div class="colpadding">
<div class="button-sml"><a href="#">More</a></div>
</div>
</div>
Any help would be most appreciated.
Thank you.