Page widening
Encyclopedia : P : PA : PAG : Page widening
A web browser normally places as many words in a single line as will fit the width of the browser window. However, there are cases where horizontal scrolling is needed. For a large picture, table or diagram this may be worthwhile, but without special measures the rest of the web page is also affected, with long lines that can only be read by cumbersome horizontal scrolling.
Causes of page widening include:
- a wide image;
- a very long "word", for example Krungthepmahanakornamornratanakosinmahintarayutthayamahadilokphopnopparatrajathaniburiromudomrajaniwesmahasatharnamornasdfadfasdfjieutisomtimesiliketoeatspegehhtiphimarnavatarnsathitsakkattiyavisanukamgjsdkkeifeisrasit;
- a long line with the specification that the browser should not break it (for instance, use of the HTML tags <pre> or <nobr>);
- a table with many columns, in particular if columns contain a long word (the minimum width of a column is the width of the longest word in it);
- a table where the HTML specifies a large width.
- may have a lower screen resolution
- may be using a larger font
- may be viewing several pages in more than 1 window at the same time
- may be using a PDA
- may be using a mobile phone
Page widening by trolls
Page widening is an Internet troll on many message boards and forums, for example, Slashdot. This form of troll causes a web page to widen to a ridiculous width, to the point where one cannot read the text without constantly scrolling left and right.
The first true page widening was an accident. Someone posted a UNIX directory listing that looked something like this:
- .foo .bar .dir .bin .etc .and .on .and .on .foo .bar .dir .bin .etc .and .on .and .on .foo .bar .dir .bin .etc .and .on .and .on .foo .bar .dir .bin .etc .and .on .and .on .foo .bar .dir .bin .etc .and .on .and .on .foo .bar .dir .bin .etc .and .on .and .on .foo .bar .dir .bin .etc .and .on .and .on .foo .bar .dir .bin .etc .and .on .and .on
- .i .like .wide .pages .dont .you .like .wide .pages .and .on .and .on .i .like .wide .pages .dont .you .like .wide .pages .and .on .and .on .i .like .wide .pages .dont .you .like .wide .pages .and .on .and .on .i .like .wide .pages .dont .you .like .wide .pages .and .on .and .on .i .like .wide .pages .dont .you .like .wide .pages .and .on .and .on .i .like .wide .pages .dont .you .like .wide .pages .and .on .and .on .i .like .wide .pages .dont .you .like .wide .pages .and .on .and .on .i
This exploit relies on the fact that, when properly implemented, some characters "prohibit line break before" them, as per the Unicode specification [link]. A fix to this problem also exists for phpBB [link].
Less than a week later, a new widening troll appeared:
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
