Forum Moderators: open

Message Too Old, No Replies

how to make a non-graphic checkmark?

need alternative to Webding character

         

bruhaha

2:16 pm on May 28, 2004 (gmt 0)

10+ Year Member



I am trying to add a "checkmark" beside completed items in a list. The Webdings character corresponding to ASCII code 252 (ü --that is "u" with an umlaut-- in most fonts) is about right.

But I can't count on it showing up that way except in IE under Windows (Netscape, for instance, simply displays the ü) so I'm looking for a viable alternative. Something that works very nicely in a a "non-universal" font (like Webdings), and is workable in a common font would be ideal (since I can list font alternatives in the style sheet).

For various readings (including how the programmer set up the code)I would very much prefer using a character, not a graphic.

Oh, and "X" won't quite do it.

chadmg

2:46 pm on May 28, 2004 (gmt 0)

10+ Year Member



Well you could do something like this...

<span style="font-family: verdana; letter-spacing: -8px; font-weight: bold">v/</span>

john_k

2:57 pm on May 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Since the character simply isn't included in most font character sets, you are really asking for the impossible (make the checkmark work with a common font that can't render a checkmark).

In addition to chadmg's creative solution, you could use a standard checkbox with javascript that prevents the user from changing the checked/unchecked state. But if the code framework you are using prevents a simple image, I doubt that this would be any easier.

PatrickDeese

2:57 pm on May 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I do not believe that there is such a symbol available cross platform and cross browser.

I am curious as to why you wouldn't use a graphic?

The only way I could imagine kludging it would to be to use a form radio button or check box flagged as selected - but neither of those is a checkmark.

DrDoc

3:26 pm on May 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How about the square root character?
&#8730;

The Webdings character corresponding to ASCII code 252

And I assume you mean Wingdings ;)

bruhaha

8:43 pm on May 28, 2004 (gmt 0)

10+ Year Member



Thanks all. I ended up using chadmg's approach. It only needed minor tweaking to fit the look of the page. (Actually, it looks better than the old checkmark. Incidentally, I may have been unclear, I wasn't necessarily looking for a "checkmark" --since I also regarded that as not possible-- just a "viable alternative" that would 'sent the right message.')

And yes, DrDoc, I did mean "Wingdings". (That "Webdings" post first thing this morning is what reminded me of this question. . . and apparently confused my tired brain. Glad it's Friday!)