Say you have a button like so:
<button>Book Now</button>
When you try to run it, the text splits into two lines, especially while using smaller screens. To fix this you can do this :
button {
display: inline-block;
white-space: nowrap;
}
Programming Made Easier
Say you have a button like so:
<button>Book Now</button>
When you try to run it, the text splits into two lines, especially while using smaller screens. To fix this you can do this :
button {
display: inline-block;
white-space: nowrap;
}
by
Tags:
I am sure this piece of writing has touched all the internet users, its really really good post on building…
As the admin of this site is working, no doubt very rapidly it will be renowned, due to its quality…
Thanks for your blog, nice to read. Do not stop.
Greetings! Very useful advice in this particular article! It is the little changes that will make the largest changes. Thanks…
Leave a Reply
You must be logged in to post a comment.