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*:
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

[+]