I know about the prefix.
I have tested it with the prefix without the universal stylesheet
directly using the Mathplayer plugin. It does not work.
Using a class attribute does work with MathPlayer, but
Mozilla ignores the class attribute on a <math>-element.
Using a class attribute on every <math>-element
would have other disadvantages as well.
Regards
Bernhard Keil
-----Original Message-----
From: David Carlisle [mailto:davidc@nag.co.uk]
Sent: Wednesday, January 08, 2003 2:53 PM
To: Bernhard.Keil@soft4science.com
Cc: www-math@w3.org
Subject: Re: Problem with MathPlayer and CSS
math {font-family:Times}
Because of Internet Explorer's slightly half baked interface to
behaviours MathPlayer has to have the math element prefixed.
If you are using the XSL stylesheet it will add the prefix mml:
(although I've had a request to make this shorter, and just m:) but it
doesn't change the css style element or referenced stylesheet, so I
think that would not match.
I think you need to use the prefixed name,
or the CSS2 namespace declaration. or use class attributes as in the
XHTML+MathML version of the MathML2 2nd edition draft where we have
.mathml-render {
font-family: serif;
font-size: 130%;
border: solid 4px green;
padding-left: 1em;
padding-right: 1em;
}
...
<td class="mathml-render" valign="middle">
<math
xmlns="http://www.w3.org/1998/Math/MathML">
and it seems to work OK and MathPlayer pick up the serif font.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________