【发布时间】:2014-01-29 15:20:48
【问题描述】:
我将 mathML 输入包装在这样的脚本标签中:
<script type="math/mml" id="scriptTag">
<math>
<mfrac>
<msqrt>
<mn>
<semantics>
<annotation-xml encoding='application/xhtml+xml'>
<input xmlns='http://www.w3.org/1999/xhtml' type='text' size='4' />
</annotation-xml>
</semantics>
</mn>
</msqrt>
<mn> 3 </mn>
</mfrac>
</math>
</script>
使用 MathJax 渲染后,文本框非常小。我也尝试了css,但没有任何改变。有没有办法让 css 在上面工作,或者 MathJax 以所需的大小渲染它?
【问题讨论】:
标签: javascript html css mathjax mathml