3 thoughts on “Wrapping a long url with CSS

  1. Mmmm… This solution not validate and doesn’t work w many browsers!
    did you try:

    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap !important; /* Mozilla */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* IE 5.5+ */

    It’s still not css validate but works w many browsers

  2. CSS means Cascading style Sheet. This the language of web page design.

Comments are closed.

Twitter
LinkedIn
YouTube
Instagram