Tags:
create new tag
, view all tags
Ok, interesting. This seems to work the way I'd like it to on twiki.org, but does not work this way on my installation of the 20010315 beta at home, even when viewed by the same browser. This could be because of a "real" difference in the code, or could be because of the changes I made to the template. I did a diff on saved "view sources" of both documents, then compared them in Word97. There are a lot of differences because I modified the template extensively. It seems there are three to look at/fix first:

  • It seems I inadvertently left out the "doctype" lines, including some or all of these:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />

  • I intentionally put all of my "body text" within a table, unless I'm mistaken, twiki.org ends all tables (a different table) before the body text:
<TABLE width="90%">

  • Similarly, it appears I inadvertently left out a </form> before the start of the body text.

Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again. There is no reason that this paragraph should not wrap at a reasonable width so that it can be viewed without horizontal scrolling. The second paragraph after this consists of long preformatted lines that, for whatever reason, must not be wrapped. But these could be.

Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again. Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again. Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again. Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again. Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again.

Here is a long line of preformatted text, created in a similar fashion.  Because it is so long and surrounded by the TWiki markup for preformatted text, it will not wrap.
Because it will not wrap, the window is forced to be as wide as the previous line (or this line, whichever is longer) is wide.
I know I'm stuck with scrolling horizontally to see these long lines, but I wish I didn't have to scroll to see the lines in the paragraphs above and below these lines -- they should wrap at the "normal" nonscrolled width of the window.
My problem isn't so much knowing how to avoid this in pages I create, my problem is dealing with this in pages other people create, or since this is a TWiki, and (almost) anybody can edit it, anybody can paste in a long line, a wide table, or a wide picture, and now eveybody has to scroll to read anything on the page, or somebody has to come along and fix the page.
Ideally, it would be nice if I could specify something like wrap text at 80 characters, 8", 600 pixels, or something like that, and all normal text would wrap at that specification, even though pre-formatted text might spread out into the distance.

Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again. Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again. Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again. Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again. Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again. Here are some long paragraphs of text, consisting of the same meaningless sentence repeated over and over again.

Here are the same lines of text in the preformatted section, but without the preformatting tags. It is common to paste program code on a page like this using the pre tags, and if someone is using a 132 character (or longer) line, which is not uncommon, then I have this problem.

Here is a long line of preformatted text, created in a similar fashion. Because it is so long and surrounded by the TWiki markup for preformatted text, it will not wrap.

Because it will not wrap, the window is forced to be as wide as the previous line (or this line, whichever is longer) is wide.

I know I'm stuck with scrolling horizontally to see these long lines, but I wish I didn't have to scroll to see the lines in the paragraphs above and below these lines -- they should wrap at the "normal" nonscrolled width of the window.

My problem isn't so much knowing how to avoid this in pages I create, my problem is dealing with this in pages other people create, or since this is a TWiki, and (almost) anybody can edit it, anybody can paste in a long line, a wide table, or a wide picture, and now eveybody has to scroll to read anything on the page, or somebody has to come along and fix the page.

Ideally, it would be nice if I could specify something like wrap text at 80 characters, 8", 600 pixels, or something like that, and all normal text would wrap at that specification, even though pre-formatted text might spread out into the distance.

-- RandyKramer - 09 Jul 2001

Topic revision: r1 - 2001-10-24 - RandyKramer
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look