I have span inside text like this
<span class='btntext'>New Item</span>
How to show words like
New
Item
I tried white-space:nowrap;
and word-break:break-all;
but not worked...
.btntext{
font-size: 12px;
}
Any ideas?
I have span inside text like this
<span class='btntext'>New Item</span>
How to show words like
New
Item
I tried white-space:nowrap;
and word-break:break-all;
but not worked...
.btntext{
font-size: 12px;
}
Any ideas?
Item` – johannchopin Mar 23 '20 at 14:34
` tag does not use and does not need a closing slash and never has in HTML. – Rob Mar 23 '20 at 14:36