Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

display:ruby not available on chrome

Tags:

html

css

frontend

I just encountered this. I'm using display:ruby to completely put a line of text in a single line. In firefox, this code works perpectly but not in chrome or in safari.

I used display:ruby instead of display:inline-block because it doesnt do the job.

like image 492
Kiko Avatar asked Dec 25 '22 02:12

Kiko


1 Answers

display: ruby; has limited compatibility. You can use white-space: nowrap; insted.

like image 125
MohammadReza Mahmoudi Avatar answered Jan 08 '23 06:01

MohammadReza Mahmoudi