githubramakrishnan / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Max width for prettify #148

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, i got a problem with prettify.
When I put in a long line, prettify doesnt make an automatic linebreak. I tried 
style="width:300px" (for example), but prettify ignore it (all browsers)
Is there any solution?

Thanks

What version are you using?  On what browser?
prettify-21-Jul-2010.zip , Firefox

Original issue reported on code.google.com by chee...@googlemail.com on 11 Apr 2011 at 3:21

Attachments:

GoogleCodeExporter commented 9 years ago
Content in <pre> tags does not wrap.  Try styling your <pre> tags with 
style="white-space: pre-wrap".

Original comment by mikesamuel@gmail.com on 11 Apr 2011 at 3:51

GoogleCodeExporter commented 9 years ago
awesome :) ...works!

Original comment by chee...@googlemail.com on 17 Apr 2011 at 5:33

GoogleCodeExporter commented 9 years ago

Original comment by mikesamuel@gmail.com on 18 Apr 2011 at 5:41