<!DOCTYPE html> <style> div { width: 50px; height: 100px; border: 1px solid gray; display: inline-block; writing-mode: vertical-rl; } </style> <!-- unicode-bidi:plaintext should resolve to RTL, ignoring the direction property --> <div style="direction:ltr; unicode-bidi:plaintext;">‏x</div>