>Certain vulgar fractions are available in the ISO 8859-1 character set...
>A few others are available in the Unicode "Number forms" [Range: 2150218F].
>However, it seems that vulgar fractions from these two sets are taken from
Ouch! CSS is very much for appearance.
>Using the super and subscripts from Range: 2070209F, it is possible to...
>This approach seems to work well in Netscape, but less good in Opera.
>IE does not support the subscript range.
>True, but I will not attempt any encoding of vulgar fractions other than 1/2,
> 1/4, and 3/4 before I have found a satisfactory way to do it.
>There must be a simpler way to do proper vulgar fractions in general with
>CSS. I would also like to define these as symbolic variables, eg.
>&frac925; for 9/25.
I have been doing things like this for a uniform appearance of fractions
that are not on any character list by styling the sup and sub tags to
make the numbers 80% of the line (not small enough to look just right
but big enough to be legible on my screen). I don't have a method to
code it as just one character--I agree that typing the sup-tag, numerator,
close-sup-tag, slash, sub-tag, denominator, close-sub-tag sequence
is a lot for each fraction but I do think it "looks OK" (at the 80% level
I mentioned above) without adding a separate effort to style the letter
spacing (the extra span tagging will really put the typing effort over the
I also adjusted the vertical offsets for the numbers and called for an
increased line height in the body tag style to avoid having sup and sub
messing up the line spacing.
My pages that use this are in a strictly Windows IE6 environment so
I would like to hear what this approach does in other browsers.
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/