When the text is too long, the input exceeds the boundaries of its parent container.
I have been exploring ways to wrap the text within the element. I attempted using CSS properties like word-break
and text-wrap
, but unfortunately, none of them produced the desired outcome.
<div>
<input type="submit" name="test" class="submit" value="sample text sample text sample text sample text sample text sample text sample text sample text">
</div>