On Fri, Mar 28, 2008 at 12:49:23PM +0000, David Reynolds wrote:
On 28 Mar 2008, at 12:39 pm, Chris G wrote:
I have some auto-generated HTML which I can't edit directly and I want to make one particular character invisible. If I could set the glyph for the character (in included CSS or in a header, which I can generate easily enough) to a blank that would do what I want.
The only way I could think of to do this would be some javascript to find and replace the character with another character. I don't think you can do it in HTML/CSS (happy to be proven wrong though).
Hmm, pity. I had also thought of the find/replace sort of approach as I could do it in the output of the script which does the generation of the HTML. It's a bit 'yuccy' though and I was hoping there might be an easier way.
I have actually found a part solution in that for some of the characters in question I can use the utf-8 NO-BREAK SPACE character which isn't seen as a space by the HTML generator but is displayed as a space. It can't be used for all cases though.