‘white-space: nowrap’ property in CSS

The white-space CSS property sets how white space inside an element is handled.

“white-space:nowrap” Collapses white space as for normal but suppresses line breaks (text wrapping) within the source.

eg:

Set “white-space: normal”

It wont over write the content if we set it to normal.

Leave a comment

Your email address will not be published. Required fields are marked *