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
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.
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).]
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).]
Sun Certified Programmer for the Java 2 Platform<br />Senior Software Engineer<br />TechRx
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).]
"JavaRanch, where the deer and the Certified play" - David O'Meara
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).]
Sun Certified Programmer for the Java 2 Platform<br />Senior Software Engineer<br />TechRx