My site has a logo with images on both sides. I know the width and height of the logo, but the images vary. I have placed an image in the top left corner and did a 10x10px margin. I now want to do the same for the other side but its not working. I did the bg position property and set it to top right but it didn't do anything. Thanks.
CSS
#leftpic {
background-position: left top;
background: url('Images/left_pic.png') no-repeat;
height : 133px;
padding : 0;
margin: 10px 10px 10px 10px;
width: 138px;
}
#rightpic {
background-position: top right;
background: url('Images/left_pic.png') no-repeat;
height : 133px;
padding : 0;
width: 138px;
}
#masthead {
background-position: center bottom;
background: url('Images/logo.png') no-repeat center
bottom;
height : 160px;
padding : 0;
margin: 10px auto 0 auto;
width: 910px;
}
html
<div id="masthead">
<div id="leftpic">
</div>
<div id="rightpic">
</div>
</div>