I'd like to think my posting style is more code less talk. But here is what happens:
if I try
to intersperse small code sections
within a paragraph. I hate the little word "code" that appears (what did you think it was, poetry?), I hate the horizontal rules (doesn't the font set it off, or at least suppress the rules when the code snippet is less than 6 lines), I hate all that space that gets padded in, and I hate the overly small font size for code that gets dialed in (yeah, I changed my browser's (Firefox) monospace font settings, but now that font is too big for every other web site, for example for Sun's javadoc pages).
Sun's server is apparently malfunctioning preventing me from seeing your illustration. However, the code tags are pretty much beyond our control. They are the way they are because we are using UBB software pretty much out of the box. It is very, very difficult to change for reasons I won't go into here.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Actually it would probably be possible to modify some of these things without too much headache, if people agree it's desireable. The word "code" could be removed I think. And the horizontal lines too. Personally I like the horizontal lines, but think the "code:" is unnecessary. What do others think?
The fonts are much harder to make changes to - the code that handles that is a horrible mess that gives me a headache when I look at it. Changes in this area are unlikely.
"I'm not back." - Bill Harding, Twister
Joined: Jul 14, 2005
If it made Jeff hate it less I'd go for it.
Marilyn de Queiroz
Joined: Jul 22, 2000
I like the horizontal lines but think we could lose the blank line between the upper line and the beginning of the code. I also think we could lose the word "code". That would decrease the vertical space a little while still setting the code off for people with various browswers.
Originally posted by Marilyn de Queiroz: Sun's server is apparently malfunctioning
Now there's a shocker. I can't believe their forum isn't working properly.
There will be glitches in my transition from being a saloon bar sage to a world statesman. - Tony Banks
Joined: Sep 16, 2005
Originally posted by Stephen Boston: Man, that's a lot of hate.
[...] As you are using FireFox, why don't you use the CTRL + to bump the font size up for the active browser window/tab?
Thanks for the responses, everybody. I'm feeling less hate today. I guess I was letting off some steam; my job and my pointed-headed managers are what I really hate.
Anyhowdy, peering at the rendering of code tags in the html source, I see the font is has attribute size=2, and that seems to be the culprit. Could that be easily changed to 3 or 4?
Here is a test of <pre>size 1, used to render the word code:</pre> <pre>size 2, used to render code</pre> <pre>size 3, would code look better in this?</pre> <pre>size 4, or would code look better in this?</pre>
Thanks for the CTRL-+ tip, that makes code more readable, but then the regular text gets too big. I think code is as important as English, so why should its font be relatively smaller. [ November 04, 2005: Message edited by: Jeff Albrechtsen ]
Joined: Sep 16, 2005
That's given me an idea... What if I wrap moe code in font tags, hehe: [ November 04, 2005: Message edited by: Jeff Albrechtsen ]
The problem I see with a bigger font for code is that code doesn't get wrapped and long lines of code horribly mess up the layout of a page. If we increase the font size of code, that will happen much more frequently...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Even those short lines of code make me scroll horizontally in the large font you just used. Besides, html has been disabled in most of the forums that you probably would want to post code in, so font tags won't work there.