style.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. .flex-text-wrap {
  2. position: relative;
  3. *zoom: 1;
  4. }
  5. textarea,
  6. .flex-text-wrap {
  7. outline: 0;
  8. margin: 0;
  9. border: none;
  10. padding: 0;
  11. *padding-bottom: 0 !important;
  12. }
  13. .flex-text-wrap textarea,
  14. .flex-text-wrap pre {
  15. white-space: pre-wrap;
  16. width: 100%;
  17. -webkit-box-sizing: border-box;
  18. -moz-box-sizing: border-box;
  19. box-sizing: border-box;
  20. *white-space: pre;
  21. *word-wrap: break-word;
  22. }
  23. .flex-text-wrap textarea {
  24. overflow: hidden;
  25. position: absolute;
  26. top: 0;
  27. left: 0;
  28. height: 100%;
  29. width: 100%;
  30. resize: none;
  31. /* IE7 box-sizing fudge factor */
  32. *height: 94%;
  33. *width: 94%;
  34. }
  35. .flex-text-wrap pre {
  36. display: block;
  37. visibility: hidden;
  38. }
  39. textarea,
  40. .flex-text-wrap pre {
  41. /*
  42. * Add custom styling here
  43. * Ensure that typography, padding, border-width (and optionally min-height) are identical across textarea & pre
  44. */
  45. }
  46. .dreamall {
  47. border:groove 1px #b3b3b3;
  48. -moz-border-radius: 8px;
  49. -webkit-border-radius: 8px;
  50. border-radius: 8px;
  51. padding: 10px 15px;
  52. width: 100%;
  53. height: auto;
  54. word-wrap:break-word;
  55. word-break:break-all;
  56. overflow: hidden;
  57. }