<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<style>
    body {
        height: 200%;
    }
    div {
        width: 400px;
        height: 25px;
        background-color: silver;
        text-align: center;
        margin: 8px 0;
    }
    #absolute {
        position: absolute;
        width: 25px;
        height: 25px;
        background-color: rgba(0, 0, 255, 0.5);
    }
</style>
<div dir="rtl">&#x200b;<span id="absolute"></span>Lorem ipsum dolor sit amet</span></div>
<div dir="ltr">&#x200b;<span id="absolute"></span>Lorem ipsum dolor sit amet</span></div>
<div>&#x200b;<span dir="rtl" style="unicode-bidi: embed"><span id="absolute"></span>Lorem ipsum dolor sit amet</span></span></div>
<div>&#x200b;<span id="absolute"></span>Lorem ipsum dolor sit amet</div>
<div style="text-align: left;">&#x200b;<span dir="rtl"><span id="absolute"></span>Lorem ipsum dolor sit amet</span></span></div>
<div style="text-align: right;">&#x200b;<span dir="rtl"><span id="absolute"></span>Lorem ipsum dolor sit amet</span></span></div>
