Disable text wrapping

前端 未结 4 729
梦谈多话
梦谈多话 2021-01-07 16:33

Here is table with email and checkbox cells. But how i can disable textwrapping?

Code is someting like:

相关标签:
4条回答
  • 2021-01-07 17:09

    You could also check the property overflow-x: http://www.w3schools.com/cssref/css3_pr_overflow-x.asp

    0 讨论(0)
  • 2021-01-07 17:11

    (Add to your CSS Selector).

    white-space:nowrap;
    
    0 讨论(0)
  • 2021-01-07 17:15

    The white-space attribute allows you to prevent text from wrapping until you place a break
    into your text.

    p { white-space: nowrap; } 
    
    0 讨论(0)
  • 2021-01-07 17:16

    you should add some classes ...

    <table class="tbl-emails">
    

    and then

    .tbl-emails td { white-space: nowrap; }
    
    0 讨论(0)
提交回复
热议问题