I want to add an img before a <div> tag using CSS content. Is this possible?
Before I get my rear jumped about adding content with CSS and the whole separation of presentation and content thing I will state this img IS presentation. Basically I have a grouping of <div> (<section> might be a more applicable tag and I might think about switching them but they are edited by a person whom isn't all that up to date with latest html and css) 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. Now I just need to figure out how to add some kittens, unicorns and rainbows. hummm maybe I should use the :after selector to add an img of a kitten riding a unicorn under a rainbow ….AND put the whole thing in a <blink> tag Seriously though I want to keep the red ribbon out of my markup. -Sarah ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] 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/