26 lines
1.1 KiB
HTML
26 lines
1.1 KiB
HTML
<!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">​<span id="absolute"></span>Lorem ipsum dolor sit amet</span></div>
|
|
<div dir="ltr">​<span id="absolute"></span>Lorem ipsum dolor sit amet</span></div>
|
|
<div>​<span dir="rtl" style="unicode-bidi: embed"><span id="absolute"></span>Lorem ipsum dolor sit amet</span></span></div>
|
|
<div>​<span id="absolute"></span>Lorem ipsum dolor sit amet</div>
|
|
<div style="text-align: left;">​<span dir="rtl"><span id="absolute"></span>Lorem ipsum dolor sit amet</span></span></div>
|
|
<div style="text-align: right;">​<span dir="rtl"><span id="absolute"></span>Lorem ipsum dolor sit amet</span></span></div>
|