This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Ranch Office and the fly likes Posting Code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Posting Code" Watch "Posting Code" New topic

Posting Code

ryan headley
Ranch Hand

Joined: Jun 28, 2000
Posts: 156
When ppl post code are they formatting so it looks right?
Are they using HTML to do this??

Ryan Headley<br /><a href="" target="_blank" rel="nofollow"></a>
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
You can use HTML, but the easier way on this forum is to use UBB code - read about it here. Basically, just put a [ code] tag in front of your properly-formatted code (without the space), and a [ /code] tag after (again, without the space). Experiment with it a bit, and use the edit post feature to revise your post as necessary until you like the way it looks.

"I'm not back." - Bill Harding, Twister
ryan headley
Ranch Hand

Joined: Jun 28, 2000
Posts: 156
Thanx again.
I agree. Here's the link:
subject: Posting Code
It's not a secret anymore!