krot

table расползание строк

Apr 5th, 2018
83
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. td{
  2. max-width: 150px;
  3. }
  4. td,td span{
  5.     white-space: pre-wrap; /* css-3 */
  6.  white-space: -moz-pre-wrap; /* Mozilla, начиная с 1999 года */
  7.  white-space: -pre-wrap; /* Opera 4-6 */
  8.  white-space: -o-pre-wrap; /* Opera 7 */
  9.  word-wrap: break-word; /* Internet Explorer 5.5+ */
  10.    
  11. }
  12. </style>
RAW Paste Data