On Mon, Mar 10, Nicolas Kaiser wrote:
I'm having a little problem with sites that excessively make use of "nowrap" tags, like <http://futurezone.orf.at>
I toyed with limit_text_width (quote from dillorc:
# Set this to YES, if you want to limit the word wrap width to the vieport # width (may be useful for iPAQ) limit_text_width=YES
), but I noticed that this option doesn't work as I would have expected, because it doesn't force wrapping here (nowrap).
"limit_text_width" is intended for table columns with explicitly or implicitly (e.g. by large banner images) set table widths. On futurezone, you have (IIRC; there was already some discussion exactly about this site) something like <td width=500 nowrap>, which is actually some kind of wrong HTML, since any correct interpretation would indeed not wrap the text (if I have understood it correct, strangely, most browsers *do* wrap the text). This is really a reason to send a mail to the webmaster.
Now I think in the context of this dillorc remark, it might be a good idea to override 'nowrap' when limit_text_width is wanted.
Am I cruelly breaking standards, or would that make sense? Please have a look at the above site with limit_text_width=YES, and then with the below patch.
"nowrap" should be honored in any case (at least, it should not be turned off by *this* option), since it can be used for texts where wrapping makes the text unreadable. Sebastian