Post by: Mark Covert, Greenhorn
on Feb 21, 2001 01:36:00
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
Post by: Thomas Paul, Ranch Hand
on Feb 21, 2001 07:09:00
code is my biggest gripe, too. I'm sure that there must be a way to increase the font size.
Post by: Cindy Glass, Sheriff
on Feb 21, 2001 07:15:00
In Netscape do View / Increase Font. In IE do View / Fonts / Larger (or Largest).
Post by: Mark Covert, Greenhorn
on Feb 21, 2001 08:04:00
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!
Post by: Thomas Paul, Ranch Hand
on Feb 21, 2001 11:16:00
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.
Post by: Jim Yingst, Sheriff
on Feb 22, 2001 14:06:00
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).]
Post by: Craig O'Brien, Greenhorn
on Mar 01, 2001 13:56:00
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).]
Post by: Cindy Glass, Sheriff
on Mar 01, 2001 14:41:00
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).]
Post by: Craig O'Brien, Greenhorn
on Mar 01, 2001 20:24:00
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).]
Post by: Thomas Paul, Ranch Hand
on Mar 02, 2001 08:34:00
But it only works in forums that allow html
All times above are in ranch (not your local) time.
The current ranch time is May 24, 2012 20:21:13.