On Thu, Sep 22, 2011 at 10:38 AM, Giles, Sarah
<[email protected]> wrote:

> Some of these groups are "Special" And their specialness changes on a 
> personal whim. So I am creating a class to denote their specialness that will 
> change their background color, give a boarder, and change font color. I also 
> want to add a darling little img of a red ribbon to the corner of each 
> because you know nothing says I'm special like being decked out in ribbons 
> and bows.
>
> -Sarah

You could use the :after pseudoclass, but it might be simpler
(certainly better supported in all browsers) to place it as a
background image to the div in question.  Position it top left and add
enough left padding to the div to make room for it.  Something like:

.specialHolder {padding-right: 20px; background: #f00
url(redribbon.png) top right no-repeat;}

-- 

[email protected]
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to