Setting Infinite Width on an element – HTML

The maximum width we can add on a div is 100%. What if you want more than that ? The solution is not to add more percentage to div but to do something other. Adding white-space property. This will only work on the main parent elements such as elements with display property as follows: block table inline-block So now you know what are the main parent elements.

[READ MORE]