befre
befre

Reputation: 79

CSS writing-mode doesn't work for some characters

CSS writing mode doesn't work for some characters, in particular for symbol '№'. Here example

<html>  
  <head></head>
  <body>
    <p style="writing-mode: vertical-lr;">
      Номер № 2
    </p>
  <body>    
</html>

http://cssdeck.com/labs/3pc5ihz5

All symbols are rotated and only this symbol not changed. What am I doing wrong?

Upvotes: 3

Views: 315

Answers (3)

Rahul Agarwal
Rahul Agarwal

Reputation: 11

It's not only about this symbol, even the HAN characters (characters of chinese, japanese, korean laguage) does not rotate with writing-mode: vertical-rl.

<html>  
  <head></head>
  <body>
    <p style="writing-mode: vertical-rl;">
       ニュース
    </p>
  <body>    
</html>

Check this for more info : https://www.w3.org/International/articles/vertical-text/index

Upvotes: 1

L&#233;o R.
L&#233;o R.

Reputation: 2708

Replace Номер № 2 with Номер N° 2

This is a known bug with some symbols

Upvotes: 2

Enrico Lund
Enrico Lund

Reputation: 87

is not the only symbol, which won't change, there are more. Some symbols are just not supported.

Upvotes: 0

Related Questions