SHARE
TWEET

Wrapping Long URLs and Text Content with CSS

putuebo Nov 25th, 2013 30 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a {
  2.         white-space: pre;           /* CSS 2.0 */
  3.         white-space: pre-wrap;      /* CSS 2.1 */
  4.         white-space: pre-line;      /* CSS 3.0 */
  5.         white-space: -pre-wrap;     /* Opera 4-6 */
  6.         white-space: -o-pre-wrap;   /* Opera 7 */
  7.         white-space: -moz-pre-wrap; /* Mozilla */
  8.         white-space: -hp-pre-wrap;  /* HP Printers */
  9.         word-wrap: break-word;      /* IE 5+ */
  10.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top