css to replace characters in paragraph tag
Posted
by Thariama
on Stack Overflow
See other posts from Stack Overflow
or by Thariama
Published on 2010-06-01T14:36:29Z
Indexed on
2010/06/01
18:13 UTC
Read the original article
Hit count: 157
Already checked exisitng questions for this, but didn't find an exact match.
My aim is to replace characters (like spaces) on a webpage with a small image using css.
Example:
<p><span>This is a text</span></p>
becomes:
<p><span>ThisIMGisIMGaIMGtext</span></p>
(where IMG stands for a visible image (middot-pic for a space f.e.))
I cannot think of a suitable css selector. But myabe one of you guys (or girls) know a solution. Is this possible at all?
© Stack Overflow or respective owner