W3C home > Mailing lists > Public > www-amaya-dev@w3.org > June 2001

Re: Showing a message in non-MathML browsers

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Mon, 11 Jun 2001 08:50:32 +0200
To: Steve White <wsr4@qwest.net>
Cc: www-amaya-dev@w3.org, Irene.Vatton@inrialpes.fr
Message-Id: <20010611065032.EB081C@maiana.inrialpes.fr>
> I want to display a message to explain to my readers why their browser 
> doesn't display MathML correctly, but to hide the message if they are 
> using a MathML enabled browser.  I have achieved partial success:
> ---------------------------------------------------------------------------
> <math xmlns="http://www.w3.org/1998/Math/MathML">
> <mphantom>
> <mtext>
> This document is formatted using MathML--see &lt;http://www.w3.org/Math/&gt;.
> It won't look very good unless you view it with a MathML enabled browser. 
> One such browser is Amaya--see &lt;http://www.w3.org/Amaya/&gt;.  There is
> also a MathML-enabled version of Mozilla for Linux--see
> &lt;http://www.mozilla.org/releases/&gt;.
> </mtext>
> </mphantom>
> </math>
> ---------------------------------------------------------------------------
> Is there a better way?  

I guess it's a good idea.
> I'd like to put hypertext links in the message, but haven't figured 
> out how.  
> The "mphantom" element leaves some ugly horizontal space.  I've
> tried to remove it with an "mpadded" element, but to no avail.

We'll try to fix that in the next release.
Received on Monday, 11 June 2001 02:50:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:31:05 UTC