File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ranch Office and the fly likes Font Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Font Size" Watch "Font Size" New topic
Author

Font Size

Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
Would it be possible to increase the font size for [code] blocks ?
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Nigel
At this time it can't be done unless we do a hack of the ubb code, although I haven't seen it, I've heard it is not light undertaking. In the mean time, a temporary fix is to just increase the font size in your browser.


Dave
Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5089
Dave it actually is possible.
Simply add the HTML font "instruction" with a size paramater in front of the block of code.
See below



[ March 26, 2002: Message edited by: Johannes de Jong ]
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Cool, I didn't know that, but I also thought he was refering to all code blocks in general. I.E. have the ubb do it not the individual posting the code. But, I'll have to remember that it is much easier to see and read that way.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Except that in the forums where code is posted most frequently, html is turned of due to other problems (which won't allow you to post your code at all - regardless of it's size).


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
Thanks for the replies. I will try using the html tag in future posts of code
 
 
subject: Font Size