Snippets tagged “nowrap”
3 snippets use this tag.
- How Not to Wrap the Contents of <p>, <div>, and <span> ElementsHTML
In this snippet, we want to demonstrate how you can make the contents of the <p>, <div>, and <span> elements not to wrap. Use the CSS white-space property.
- How to Disable Word Wrapping in HTMLHTML
In this snippet, we’re going to demonstrate how you can disable word wrapping. For that, use the white-space property either with the “nowrap” or “pre” value.
- How to Force the Content of the <div> Element to Stay on the Same LineHTML
In this snippet, we’ll demonstrate how to force the content of the HTML <div> element to stay on the same line. Use the overflow and white-space properties.