View Single Post
  #3 (permalink)  
Old April 4th, 2007, 08:06 AM
dparsons dparsons is offline
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

   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:
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
================================================== =========
Why can't Programmers, program??
================================================== =========