Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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
jQuery in Action, 3rd edition