Ich möchte einen roten Rahmen um Ausgabe von MathJax
zeichnen. So habe ich diesen Code:HTML-Rahmen um MathJax Formel
<html>
<head>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js","TeX/noUndefined.js"],
jax: ["input/TeX","output/HTML-CSS"],
tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]},
TeX: {extensions: ["AMSmath.js","AMSsymbols.js"]}
});
</script>
<script type="text/javascript" src="/path/to/MathJax.js">
</script>
</head>
<body>
<style>
p1 {
border: 5px solid #FF0000;
}
</style>
<p1>
<p>$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$
</p>
</p1>
</body>
</html>
Aber das Ergebnis hat zwei vertikale rote Linien auf der linken Seite der Seite, statt rot Grenze:
Wie ich dieses Problem lösen kann?
Hinweis:
Ich will nicht Mathjax Stile verwenden.
HTMLUnkownElement Standard '' display' inline' zu sein scheint, fügen Sie 'Anzeige: [Inline-] Block; 'in Ihren Stilen, oder reparieren Sie Ihre Markup, so dass Sie nicht unknownnelemts wie diese ... – Kaiido