Loading...
Skip to main content

Navigation and related functionality and content

ExplodingPagesBug

The Problem


When I copy and paste text into a wiki page Edit box, and then save the page, the center column that contains the wiki page content expands so I have to scroll to the right to read all of it. It pushes the right (third) column to the right along with it. Typing text directly into the wiki page Edit box does not produce this behaviour/error.

See some examples at SeeExplodingPages

The Solution


Tiki 1.9

every theme requires*:
Copy to clipboard
div.wikitext div.img { overflow: auto; /* for Netscape, Firefox, Opera */ overflow-y: auto; /* for IE */ overflow-x: hidden; /* for IE */ } .codelisting { overflow: auto; /* for Netscape, Firefox, Opera */ overflow-y: auto; /* for IE */ overflow-x: hidden; /* for IE */ width: 100%; }


*It may be possible to use the (very new) also use transition stylesheet featurettte (on Admin->General) to provide a site-wide fix for all themes.

Tiki 1.8

The fix could be backported to 1.8 if desired:

  1. wrap img tags inside divs
  2. then do as per Tiki 1.9, above
Other examples or related misbehaviours


Please add here if you continue to see exploding pages with v1.9, on wiki pages or elsewhere, or if you have a page behaviour that is similar or related.

  • LeftColBug

Older stuff

[+]
A Workaround Colorado Found
I found that, when I have this behaviour/error on a page, if I copy the text from the wiki Edit box, then paste it into an HTML editor and replace every <p> with <br><br> (and of course remove every </p>) then paste it back into the wiki Edit box and save, the center column/wiki page does not "explode" to the right, and all three columns fit nicely on the screen.
Is this a bug?


Please add here to comment on whether you think this is a bug or something to fix.

I believe this is a style problem - the browser is doing what it should (resizing the viewport so the content fits). This is is most often seen in Tiki when using the code tag or putting in a picture that is wider than the central section. In the former case, it may be possible to process the text to wrap the block. In the later case the only option is to set the CSS property "overflow: auto" (or scroll) on the appropriate element (probably the DIV tag for the centre column). - mdavey


Page last modified on Wednesday 16 February 2005 21:41:39 UTC

AltStyle によって変換されたページ (->オリジナル) /