- From: Christoph Päper <christoph.paeper@crissov.de>
- Date: Tue, 20 Dec 2011 17:24:08 +0100
- To: www-style list <www-style@w3.org>
Tab Atkins Jr. (2011-12-20 17:05): > On Tue, Dec 20, 2011 at 4:09 AM, Christoph Päper >> >> <span class="frac">1 <sup>2</sup>⁄<sub>3</sub></span> – HTML4 >> >> The problem is that you have to type the separator and the slash, then remove them with “display: none;”. > > The best way is to type it as "<span>1 2/3</span>", and apply a font > with the appropriate ligatures to display the 2/3 specially. That only works for fairly simple fractions. Also, such a font may not be available or it may not match the rest of the text nicely. > Another good solution would be to petition the MathML WG to allow a / > in <mfrac> between the <mn>s, to allow decent fallback behavior. As I tried to illustrate it’s a problem common to several markup languages for different usecases. Therefore a general CSS solution would be preferable.
Received on Tuesday, 20 December 2011 16:24:45 UTC