Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text reference: bidi resolution with unicode-bidi:plaintext</title>
<style>
.test {
font: 20px Arial, sans-serif;
margin: 10px;
border: 1px solid gray;
width: 10em;
}
</style>
<p>Alignment of text in both boxes should match:</p>
<div class="test"><div>Hello World!</div><div dir=rtl>שלום עולם!</div></div>
<div class="test"><div>Hello World!</div><div dir=rtl>שלום עולם!</div></div>