user image

Joseph Morgan
Published in : 2021-12-19

Text go out of the column in 'Bootstap'

When I copy the text in one line into the code and check the page I find out that the text is getting out of the column in bootstrap, is code is like 

<div >
<div ></div>
<div >
	<h2>Helllllllllllllllllllllllllooooooooooooooooooolllllll</h2>
</div>
<div ></div>
</div>

How can I keep it on the page, I tried flex-wrap: wrap; but I still facing the same issue,

Thanks in advance

Comments

Mohamed Atef Date : 2021-12-19

Best answers

46

Best answers

46

You can use word-break: break-word; it will break your text anyway and keep the column padding as you need 

word-break: break-word;

Leave a comment

Join us

Join our community and get the chance to solve your code issues & share your opinion with us

Sign up Now