Perhaps this depends on the default browser font. Some fonts may have kerning (adjustments in increments between letters), which reduces the space between capital Y and a short letter or dash.
It seems that Chrome's text rendering engine uses more kerning than other browsers, or doesn't use it when there is an html tag between the letters.
You can solve this problem by specifying a div specified font family:
div { font-family: Courier New; }
(doesn't have to be a monospace font, but they won't have kerning)
Kweiss
source share