Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Whining: Font Size

 
Mark Covert
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Man, I must be getting old. Some of the Font sizes on this site are so tiny that I think I'm going blind!
I checked the font and it looks like its Verdana or Arial, but its so tiny.
Is there any way to increase the font size for the small remarks under the headings and esp. for code that people have pasted???
Mark
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
code is my biggest gripe, too. I'm sure that there must be a way to increase the font size.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Netscape do View / Increase Font.
In IE do View / Fonts / Larger (or Largest).
 
Mark Covert
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Cindy! You're the coolest! Now I can use the money that I was going to spend on really big glasses to buy the Java Book for the Cattle drive!
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cindy, that increases all the fonts. What would be nice would be to just increase the font used under the UBB code of [ code ]. That is easily changed in UBB.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you mean by your last sentence - are you saying that it is easy to change in UBB, or that it would be nice if it were? If the former, I'd appreciate hearing how. I've looked, but haven't found a way to manipulate this using the UBB control panel settings available to sheriffs. I can change the text size for everything, but not for the tiny fixed-width font independent from the regular font. I seem to recall that Paul W was once able to tweak this by hacking the code, but it was a pain and of course his changes vanished when he upgraded.
[This message has been edited by Jim Yingst (edited February 22, 2001).]
 
Craig O'Brien
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I found a site http://forums.motorweb.ie/ubb/ubbcode.html which also uses UBB. They list a few additional commands at the above page. Is all UBB the same?
Excuse this test but this is multiple ubb commands

and html
<pre>
final String randomPass(int len){
long timeIn = System.currentTimeMillis();
int[] random = new int[len];
int i = 0;
String result = "";

while(i < random.length){
int n = (int)(Math.random() * 122);...
</pre>
Regards,
Craig
Oh well, :0) apparently you can't embed UBB or change the size of pre fonts. Thanks for your patience.
[This message has been edited by Craig O'Brien (edited March 01, 2001).]
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use this:
< PRE>
< font size=2.5>
< /PRE>
instead of the CODE commands the code is readable (IF HTML is on).
Course you have to take the spaces out that I put in to keep it from executing.
Example:
<PRE>

This is my code.
Isn't it cute!
</PRE>

[This message has been edited by Cindy Glass (edited March 01, 2001).]
 
Craig O'Brien
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Cindy, that is cute code. You guys are great!
<PRE>

final String randomPass(int len){
long timeIn = System.currentTimeMillis();
int[] random = new int[len];
int i = 0;
String result = "";

while(i < random.length){
int n = (int)(Math.random() * 122);

if (!(n < 49) && (!((n >= 58) && (n <= 64))) && (!((n >= 91) && (n <= 96)))){
random[i] = n;
i++;
}
}
for(int j = 0; j < random.length; j++){
result += (char)random[j];
}
timeOut = System.currentTimeMillis();
random = null;
System.out.println("Processing time: " + (timeOut - timeIn) + " milliseconds\n");
return result;
}
</PRE>
Now us guys with glasses don't have to get so close to the monitor. :0)
Please comment on the complete code over here http://www.javaranch.com/ubb/Forum34/HTML/000620.html Use it if you like it.
Craig
PS I don't abuse html.

[This message has been edited by Craig O'Brien (edited March 01, 2001).]
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But it only works in forums that allow html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic