• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

In verbatim mode, we used to show a horizontal scroll bar. This seem gone now.

-- TW

I still have it.

-- KJL

Could you specify your browser, and provide an example page?


Please see the following two examples:

In verbatim mode, we used to show a horizontal scroll bar. 

In verbatim mode, we used to show a horizontal scroll bar. This seem gone now.

In my browser (IE), there are no scroll bars. -- TW

Yes, it has disappeared on non-FF browsers. Looking into that.


I see it now.

In normal text it works also in IE.

But not when the verbatim is in the form like in this bug report. Then it only works in FF.

I also tried in IE7 and it behaves like IE6.


I am not sure if that can be solved (has it ever?). pre inside tables causes browsers to render with unexpected results.


I've delved a bit longer into this (as I recall also did previously) but there is no easy solution. The only browser that resolves pre inside a table is Firefox. Safari and Explorer calculate a wrong width. A solution would be to not use pre inside a table, or to not use a table fo a twiki form layout.


I still don't see the scroll bar.... -- TW

There should be a scroll bar in the topic text. There is no scroll bar in the form table.

A solution would be to not use a table but divs to display form data.


Aaah. I understand now. This is not the text area, but a form field.

I guess that points to that a text area in a form field should be treated no different from a text area otherwise.... we went out of our way to allow tables, bullet lists, etc. So we should also do the formatting the same way... -- TW

Why can we not use the table? Is there some magic with CSS that does not work?

Correct. Browsers need to know the width of a pre block, and this seems to be hard when inside a table. Because when you give the pre block a width of 100%, it will just expand the table, whereas outside of the table the browser understands that 100% is 100% of the containing div.

So I think that ditching the table layout for form content is the way to go. We just need to get used to a new layout.


The problem has been fixed enough so that it affects only form fields, and that has been the situation before. Changing to enhancement, and also changing the topic name so that the problem is highlighted.


Changed the title as it affects tables, not form fields.


Changed the title as the problem is form fields, not tables in general. As you say, the solution could be not to render a form as a table. -- TW

Summary Horizontal scroll bar for verbatim does not work in form fields
ReportedBy TWiki:Main.ThomasWeigert
Codebase ~twiki4
SVN Range TWiki-4.1, Sat, 18 Nov 2006, build 12001
AppliesTo Extension
Component PatternSkin
Priority Enhancement
CurrentState New

Checkins 12071
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r17 < r16 < r15 < r14 < r13 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r17 - 2006-12-03 - ThomasWeigert
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback