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, ∼1978🔥, 0💬
Popular Posts:
What are Control Connection and Data Connection used in FTP protocol? FTP protocol uses two independ...
What are browser popup ads for Firefox? Browser popup ads are new browser windows opened by Websites...
How to find and read log file in FileZilla Server? I have logging turned on already. For FileZilla S...
What is "OneNote Notes about Word Documents" add-in in Microsoft Word? Should I disable it? "OneNote...
Should I edit my PowerPoint document online or offline? If you have Microsoft Office and OneDrive fo...