Unwanted linebreak in textbox

asked 2017-06-16 11:36:16 +0800

IngoB gravatar image IngoB flag of Germany
256 6

updated 2017-06-16 11:51:35 +0800


i got a multiline textbox with some long lines. I don't want an automatic linebreak, I want a horizontal scrollbar. I tried multiple CSS attributes, but none is working.

Does anyone have an idea how to solve this?

zkfiddle.org UPDATED! SOLVED

I tried also the following, but "overflow:auto;" is not working.



ZK 8.0.5, FF 54.0 (32-bit)

delete flag offensive retag edit


Ok, I found it myself. It's "white-space:pre". Zkfiddle is updated.

IngoB ( 2017-06-16 11:49:47 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2017-06-16 11:36:16 +0800

Seen: 7 times

Last updated: Jun 16 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More