If we have some inner divisions inside <button>
tag like this-
<button class="top-container">
<div class="classA">
<div class="classB">
puts " some text to get print."
</div>
</div>
<div class="class1">
<div class="class2">
puts " some text to get print."
</div>
</div>
</button>
Sometime Text of class A get overlap on class1 data because these both are in a single button tag. I try to break the tex using-
word-wrap: break-word; /* All browsers since IE 5.5+ */
overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
But this won't worked then I try this-
white-space: normal;
after removing above css properties and got my task done.
Hope will work for all !!!