View Single Post
  #3 (permalink)  
Old April 4th, 2007, 08:06 AM
dparsons dparsons is offline
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Jim,
   As you no doubt can tell, that behavior is only exibited when someone posts a code sample surrounded by the Forum Code code tag; posting as regular text will cause the code to wrap.

When a code tag is placed in a post it ultimately gets transformed into a <pre> tag and tag that both use a style named 'code'; it might be worth while to instead repleace the code tag with a <div> that has a set width. This will invariably cause wrapping with long lines of code, but IMHO, it will be much easier to read in that incantation then using the HScroll Bar to read the entire line.

My 2 cents anyway.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========