Premium badge is being pushed down

jondoe

New Member
Code:
media="screen"
.premium_badge {
margin-top: -68px;
text-align: center;
background: transparent url(img/strap3.png) top center no-repeat;
height: 150px;
width: 80px;
padding: 10px 0 0 12px;
}
In this code the margin top does not seem to adjust for images added, thus the height of the image pushes it down that many px.

IE: I have a h 100px image in order for the premium badge to hang in the proper place it owuld need to be adjusted to -168px, since I can't specify a minimum image height I can't think of a simple fix.

I can't believe this was overlooked.
 
Top