in reply to Re^4: Those 'wide load' posts (selectors)
in thread Those 'wide load' posts

Which browser are you using that doesn't get:
<pre class="code">
in the page source? I'm seeing the same in Firefox 2, IE 7, Opera 9, Konqueror, and links.

Replies are listed 'Best First'.
Re^6: Those 'wide load' posts (browsers)
by tye (Sage) on Oct 17, 2007 at 20:20 UTC

    Browsers have no control over what HTML PerlMonks chooses to emit. And, no, PerlMonks does not sniff user-agent strings in order to customize the HTML that it emits. Turn on "auto code wrap" (but don't forget to turn it back off; it is in one of the PerlMonks 'settings' pages) if you want to see different HTML emitted for <code> blocks.

    - tye        

      Thanks for the tip. I like the way code is displayed better with auto code wrap turned on in Firefox, Opera, and IE generally. It appears the soft hyphen handling does save some side-scrolling in IE, but for pathological cases it still happens there.

      I'm not sure which method I'm going to use in the long run, but it's nice to have options. I might just raise my break limit on the non-auto to about where all my browsers on my main system will handle it maximized. It seems at the font size I use most of the time on the monitor and resolution I use most, I can easily get the browser into the 130-character range across all three of the most itneresting (to me) browsers. I've not run across many code sections with lines above that.

      Thanks again for the tip.