Languages
[Edit]
EN

CSS - how to disable word wrapping in HTML?

10 points
Created by:
Isaiah89
721

Using CSS it is possible to remove word wrapping in following ways.

Note: read this article how to disable line wrapping, beacuse indirectly it solves the problem of world wrapping.

1. word-wrap: keep-all example

Edit

This solution prevents of long words breaking.

See also

Edit
  1. CSS - how to disable line wrapping in HTML?

Merged quastions

Edit
  1. CSS - how to turn off world wrapping in HTML?
  2. CSS - how to remove world wrapping in HTML?
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

CSS

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join