Answer the question
In order to leave comments, you need to log in
How can I make the text not wrap to another line, but decrease?
A number is displayed from the database, if it is large, then the part is transferred to another line. How can I make the font smaller instead?
Answer the question
In order to leave comments, you need to log in
You can check the length of the number with a script and if it is greater than the specified one, change the font size with CSS.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question