Forum Moderators: not2easy
I want the html that I write in that column to reference a style NOT a graphic. I want the graphic to be defined in my css. Is this possible?
Thanks!
There are :before and :after psuedo elements which should be able to be used to insert content, including external resources such as images.
W3C specs here:
[w3.org...]
But could you assign the "cell" in question a background image.. you could then set up 2 different classes that would each have reference a different background image in the CSS.
Then you would need some way to "switch" the class name in the HTML though.. which I why I think it may be a programming question..
If this sounds OK then the answer is Yes and I can post a more detailed example..
Suzy