<style> | |
div { | |
font-size:36pt; | |
width:100px; | |
white-space:nowrap; | |
overflow:hidden; | |
text-overflow:ellipsis; | |
direction:rtl; | |
} | |
</style> | |
<p>The text and ellipsis should not overlap.</p> | |
<div>هذا هو الاختبار</div> | |