Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (490)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Use "mspace" instead of "columnwidth"
Can I use <mspace> instead of "columnwidth" attribute in <mtable> elements?
✍: FYIcenter.com
For Web browsers that do not support the "columnwidth" attribute,
you can add a blank row in the <mtable> element
with <mspace width="*px">
to force the width of a given column.
You should also remove the whitespace after the blank row with rowspacing="0.0ex 1.0ex ..." attribute in the <mtable> element. For example:
Original equation:
<math display="inline" displaystyle="normal">
<mtable rowspacing="0.0ex" columnspacing="0.1in" columnalign="left">
<mtr><mtd><mspace width="400px"></mspace></mtd><mtd></mtd></mtr>
<mtr>
<mtd><mi>y</mi><mo>=</mo><mfrac>
<mrow> <msup><mi>x</mi><mn>2</mn></msup> <mo>−</mo> <mn>4</mn> </mrow>
<mrow> <mi>x</mi><mo>−</mo><mn>2</mn> </mrow>
</mfrac> </mtd>
<mtd><mtext>(1)</mtext></mtd>
</mtr>
</mtable>
</math>
Simplified version:
<math display="inline" displaystyle="normal">
<mtable rowspacing="0.0ex" columnspacing="0.1in" columnalign="left">
<mtr><mtd><mspace height="0px" width="400px"></mspace></mtd><mtd></mtd></mtr>
<mtr>
<mtd><mi>y</mi><mo>=</mo><mi>x</mi><mo>+</mo><mn>2</mn></mtd>
<mtd><mtext>(3)</mtext></mtd>
</mtr>
</mtable>
</math>
The output in most browsers looks good:
Original equation:
Simplified version:
This is also a good workaround to replace the <mlabeledtr> element, which is deprecated now.
⇒ ISO 80000-2 Quantities and Units - Mathematics
⇐ Use "columnwidth" for Cross Formula Alignment
2026-10-17, ∼1889🔥, 0💬
Popular Posts:
How to add ActiveX controls, like text command button, text box, check box, etc., to Presentation sl...
What port numbers are used for data connections in passive mode in FileZilla Server? Can I limit the...
How to convert a Word document into an MHTML? I have a nice Word document and want to publish it on ...
Should I sign in to Google account after installing Google Chrome 55? When you run Google Chrome 55 ...
What are the steps to insert Dynamic Fields in Microsoft Word? I want to insert the chapter heading ...