Is there a way I can ensure that the child div contents fit inside the parent div, even when zooming in on the screen? How can I prevent the child div from coming out of the parent div?
<div>
<div title="childDiv" style="width:auto;">
<h3 class="headerwidth" style="margin-top:1px; margin-bottom:0px"> Test:</h3>
Welcome to this new page! Test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test
</div>
I have attempted using overflow: hidden but it didn't work as expected.