HTML Button With Line Breaks

Author: Zeeshan Arshad     1377     08/27/2015

Estimated reading time: 0 minutes, 14 seconds

You can use this technique to use HTML button with line breaks within long text:


If this does not work for you in bootstrap, it is due to "white-space: nowrap" applied on buttons.

You can simply use "white-space: normal;" CSS technique and it should work fine.

Was this topic helpful?

Subscribe YouTube Channel

Zeeshan Arshad is a multipotentialite web developer who also happens to know about growth hacking, blogging, closing, marketing, copywriting, spirituality, virtual reality and more. Zeeshan is a Freelancer Top Contributor, vWorker Top Coder and Udemy Premium Instructor.

Story  LinkedIn Profile  Courses  YouTube