I'm trying to position a ribbon image on one of my websites. Unfortunately I can't figure out why it doesn't work as I want it to. I used position: relative;
and position: absolute;
to do all the positioning stuff but the problem is that the image is not on top:
I've used to following code:
.ribbon { position: relative; }
.ribbon h3 {
background: url("images/ribbon.png") no-repeat scroll 0 0 transparent;
color: #FFFFFF;
font-family: Tahoma,arial,serif;
font-size: 1.4em;
height: 34px;
padding: 7px 0 0 17px;
position: absolute;
right: -36px;
width: 244px;
z-index: 200;
}
If you want to take a look at the website you can do it on this link (user: tmp / pass: tmpuser).
It should look like this:
Thanks so much for your help! Dennis