Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re:
 tags on wide lines

by Anonymous Monk
on Nov 21, 2010 at 02:42 UTC ( #872738=note: print w/replies, xml ) Need Help??


in reply to <pre> tags on wide lines

It could be solved for modern browsers by adding pre { white-space: pre-wrap; } to the site's stylesheet.

See the CSS2 specification for how it's supposed to work, and Quirksmode for browser support and test cases.

Replies are listed 'Best First'.
Re^2: <pre> tags on wide lines
by Corion (Pope) on Nov 21, 2010 at 10:00 UTC

    Thanks!

    This rule is now used in the common.css file and thus PRE tags should now wrap nicer.

Re^2: <pre> tags on wide lines
by roboticus (Chancellor) on Nov 21, 2010 at 03:58 UTC

    Awesome! That fixed things nicely for me. I'm certain the gang playing with style sheets for a site facelift will want to add this to the default.

    ...roboticus

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://872738]
help
Chatterbox?
[Corion]: For testing I imagine one would want to test a random sampling of such "bad"/"unexpected" requests, while for downloading, one would want to generate them all in order, but not necessarily as a huge list
[Corion]: s/Algorithm:: Permute/Algorithm ::Loops/

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-01-16 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.