PDA

View Full Version : How can I Get VB's [code][/code] Effect in HTML Coding?


teedizz
12-19-2008, 12:39 AM
Hello, im not sure if this is even being asked right but heres what Im looking for. whenever I wrap a lot of text in the [code] format in VB, VB preserves the spacing and if the text is too long, it automatically wraps everything with a scrolling bar to view the rest of the text. How can I get the same effect with HTML coding? Basically I have something I need to put my my website that has a lot of text but when i just copy and paste, the text is all screwed up and looks sloppy but in VB wrapped in the [code] tgs it looks perfect. Does anyone know what html codes will give me the same effect? Thanks.

SEOvB
12-19-2008, 12:42 AM
try <div style="width: 600px;"><pre>your code</pre></div>