<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script>
<div style="background-color:yellow !important;display:table;width:100%;">
<div style="float:left;background-color:white;">$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$</div>
<div style="float:left;background-color:pink;font-size:12px;">$$y = {1 \over 2}$$</div>
</div>