0

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

Hi,

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.

https://stackoverflow.com/questions/24016272/horizontal-scroll-bar-in-zk

http://forum.zkoss.org/question/92986/textbox-horizontal-scrollbar-problem/

ZK 8.0.5, FF 54.0 (32-bit)

delete flag offensive retag edit

Comments

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

Follow
1 follower

RSS

Stats

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