PDA

View Full Version : div background image for posbit


vietfancy
11-18-2010, 06:27 PM
I'm trying to add an image to my postbit template using div css, but I can't get them to work. Would be appreciated if you can help me out.

I'm using this css code:

.test {
background-image: url(dir/image.jpg);
background-repeat: no-repeat;
position:absolute;
top:30px;
right:30px;
}

and in my postbit template i changed {vb:raw post.message} to <div class="test">{vb:raw post.message}</div>

But it doesnt come out right. and I can't seem to get it to work.

https://vborg.vbsupport.ru/attachment.php?attachmentid=123708&stc=1&d=1290112675