This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Posting Code" Watch "Posting Code" New topic
Author

Posting Code

ryan headley
Ranch Hand

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


Ryan Headley<br /><a href="http://www.sudovi.com" target="_blank" rel="nofollow">http://www.sudovi.com</a>
Jim Yingst
Wanderer
Sheriff

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Posting Code
 
Similar Threads
Netscape7.1 and window.createPopup()
Why we live?
onload
input type=file
build.xml question