Thursday, 30 October 2008

Indenting Java Code

I'm wondering if this trick learned in TT281 will work here to indent code. Place <pre> before the code and </pre> after it. Here's a sample to see:-
if (expression)
{
   //do something
}
Eureka!

No comments:

Post a Comment

 

visit counter