W3C home > Mailing lists > Public > www-math@w3.org > January 2003

Problem with MathPlayer and CSS

From: Bernhard Keil <Bernhard.Keil@soft4science.com>
Date: Wed, 8 Jan 2003 14:35:11 +0100
To: <www-math@w3.org>
Message-ID: <IIEOKCCPKDALHBHODAENKEKACEAA.Bernhard.Keil@soft4science.com>

It looks like that MathPlayer ignores CSS stylesheets or 
definitions in a <style>-element.

MathPlayer seems to just enherit the style properties of the
parent XHTML element above a <math> element.

So defining
<style><![CADAT[
    p      {font-family:Arial}
    math {font-family:Times}
]]></style>

will lead to the result that every inline math is rendered 
in MathPlayer in Arial font instead of Times New Roman.
The rendering in Mozilla/Netscape is correct.

Is it true that MathPlayer does ignore CSS definitions, or
have I done anything wrong?

regards 

Bernhard Keil
mailto:Bernhard.Keil@soft4science.com

-------------------------------------------------------------
soft4science             Bernhard Keil
Nibelungenstr. 4        80639 Munich       Germany
+49 89 / 95 411 088  http://www.soft4science.com  
+49 173 / 72 53 669  http://www.MathML.net
Received on Wednesday, 8 January 2003 08:35:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:52 GMT