What if you break lines if you use the nowrap attribute in css?
This article mainly shows you the "css using the nowrap attribute will also break the line how to do", the content is easy to understand, clear, hope to help you solve the doubt, the following let the editor lead you to study and learn "css in the use of nowrap attribute will also break the line" this article.
I have previously summarized the line-wrapping and non-line-wrapping css writing of Div. However, for table cells, only one property, nowrap, is known so that it does not wrap. Recently, there is a need for this, but it is found that adding nowrap will still change the line in some cases! Helpless, is there not a way to force people not to change lines? Baidu for a while, I am very pleased, but really found a solution, the problem is solved.
Highcharts.chart ('container', {chart: {type:' variwide' / / varwide depends on varwide.js}, title: {text: 'machine state diagram'}, subtitle: {text: 'data source: eurostat'} XAxis: {categories: ['2018-09-01,' 2018-09-02, '2018-09-03,' 2018-09-01, '2018-09-02' '2018-09-03,' 2018-09-01, '2018-09-02,' 2018-09-03, '2018-09-01, 2018-09-02 '2018-09-03,' 2018-09-04], crosshair: true}, legend: {enabled: true}, series: [{data: [['normal', 1 2122], ['standby', 1, 2311], ['standby', 1, 1111], ['normal', 1,122], ['tuning', 1, 2311], ['standby', 1, 1111] ['normal', 1122], ['tuning', 1, 2311], ['standby', 1, 1111], ['normal', 1, 2122], ['tuning', 1, 2311] ['standby', 1, 1111], ['repairing models', 1, 3212], colors: ['# 26B99A', '26B99A', 'E74C3C', 'FFFF37', '26B99A', '26B99A', '26B99A', 'FFF37', '26B99A', '26B99A', 'FFF37', '26B99A', 'E74C3C', 'FFFF37''] ColorByPoint: true,}]})
/ * css Code * /
/ / JS code above is all the contents of the article "what to do if you break lines if you use the nowrap attribute in css?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!