Basj Basj - 1 year ago 63
HTML Question

Special characters seem to swap HTML letter order

Why is the red part AFTER the

in the following text and not before?

This was rendered with Windows 7, Firefox 47:

enter image description here

<p><b style="color: red;">לה</b>: להz</p>

Answer Source

Its longer and there is possibly a better way, but this seems to work:

<p style="display: inline-block;"><b style="color: red;">לה</b></p><p style="display: inline-block;">: להz</p>