mike_g Posted August 5, 2007 Share Posted August 5, 2007 I want to put some code on a web page, and I want it to retain its indentation. I think someone said that you do that stuff in PHP. I don't know any PHP tho and i was wondering if it would be possible to do this in jscript? Cheers. Link to comment Share on other sites More sharing options...
justsomeguy Posted August 6, 2007 Share Posted August 6, 2007 You can put the text inside <pre></pre> tags and it will retain formatting. Link to comment Share on other sites More sharing options...
mike_g Posted August 6, 2007 Author Share Posted August 6, 2007 Wow, thats easy. Didn't know you could do that Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.