Set Background On Top Right

Giganews Newsgroups
Subject: Set Background On Top Right
Posted by:  Shapper (mdmou…
Date: Wed, 19 Oct 2011


I have a div as follows:

<div>Some Text</div>

I need to set an icon (20x20) the div's background.
The icon should be on the right upper corner.

This would be easy. The problem is:
I would like to get the icon from a file with sprites.

I think sprites need to set the height and width.
So this might be impossible.

Am I wrong?


Thank You,