Chetan Crasta wrote:
I'm not sure of the meaning of those characters, though. Do they have
the same meaning as regular numbers?
Technically, the circled numbers are defined as numbers (digits), i.e. their
general category is "Number", and they also have numeric values defined for
them in Unicode; see e.g.
http://www.fileformat.info/info/unicode/char/2776/
But isDigit() still returns false... And they are in the Dingbats block. So
it's complicated. They're half numbers, half dingbats, so to say.
The characters were rendered correctly in my Ubuntu computer. It has
MS's free core fonts installed.
Strange things may happen if you use dingbats in HTML. It can be difficult
to figure out where a browser picks glyphs for them, or to control that.
In any case, the use of these characters is limited because while the
color of the shaded circle can be changed, the color of the letter can
only be changed using background-color which changes the color of the
entire line box.
Right. I think it's much safer, and cleaner, to create circled numbers by
using normal digits rendered in a particular style (with a background image
containing a circle, or maybe by overlaying, with positioning, a circle
image and a digit). This also gives more control over the appearance.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
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/