Radified Community Forums
http://radified.com/cgi-bin/yabb2/YaBB.pl
Rad Community Non-Technical Discussion Boards >> The Water Cooler >> Font size in Post/Reply box/window
http://radified.com/cgi-bin/yabb2/YaBB.pl?num=1196038150

Message started by Rad on Nov 25th, 2007 at 6:49pm

Title: Font size in Post/Reply box/window
Post by Rad on Nov 25th, 2007 at 6:49pm
I am trying (per NightOwl's request) to change (increase) the font size in the Post/Reply box/window.

No luck yet. See here for details:

http://www.yabbforum.com/community/YaBB.pl?num=1196034841

Lemme know if you notice/experience any weirdness.

Title: Re: Font size in Posr/Reply box/window
Post by Rad on Nov 25th, 2007 at 6:50pm
Test. Still small. Looks smaller than 11-px, if you ask me.

Title: Re: Font size in Post/Reply box/window
Post by Rad on Nov 25th, 2007 at 8:04pm
Test.

In the Reply box field, I can see just above where it *says* Verdana 14 (with a drop-down menu option), but the font size that I use to *type* with is still small.

Title: Re: Font size in Post/Reply box/window
Post by Rad on Nov 25th, 2007 at 8:18pm
oh my.

now the *display* font is 14-point Verdana.

that's not what i wanted.

but do you have any preferences regarding this change?

Title: Re: Font size in Post/Reply box/window
Post by Rad on Nov 25th, 2007 at 8:33pm
Changed the 14-px to 12.

Title: Re: Font size in Post/Reply box/window
Post by amish on Nov 25th, 2007 at 9:12pm
here is the controlling code from "view source":


Code:
<td width="77%" class="windowbg2">

       <textarea name="message" rows="8" cols="70" id="message" style="height: 166px; width: 550px;
font-family: Verdana; font-size: 11px;
padding: 5px; margin: 0px; visibility: visible;"
onclick="javascript:storeCaret(this);"
onkeyup="javascript:storeCaret(this);"
onchange="javascript:storeCaret(this);" tabindex="4"></textarea>
       <br /></td>


I think the size of this font may be controlled by JavaScript, cuz it looks smaller than 11-px Verdana. Looks more like 9 to me.

Title: Re: Font size in Post/Reply box/window
Post by NightOwl on Nov 25th, 2007 at 9:44pm
Rad

Here's the style sheet code that is supposed to change the size of the font in the *text area* (it also changes the text area background to *yellow* and not white):


Code:
textarea {
     font-size: 20px;
     font-weight: normal;
     font-style: normal;
     text-decoration: none;
     font-family: verdana, helvetica, arial, sans-serif;
     color: #000000;
     background-color: #ffff00;
     border: 1px solid #B1BDC9;
}

I'm copying this from the *Admin/Forum Layout/Style Sheet/Source* coding page for the *TestDefault_large* style sheet template.

If you go to your Profile, and select *Modify* and look under either *Options*.  Type something in  the *Signature* text box if you do not already have something there.  Now select the forum template *TestDefault_large* from the *What template would you like to use?*  You will see a dramatic change in the text font size in that *Signature* box!

But, that same change has no effect on the text box for typing one's reply to a forum thread!  Why?

Title: Re: Font size in Post/Reply box/window
Post by NightOwl on Nov 25th, 2007 at 9:53pm
amish


Quote:
here is the controlling code from "view source":

I think the coding you are referring to is *over-riding* the style sheet coding with this font size:


Code:
<td width="77%" class="windowbg2">

       <textarea name="message" rows="8" cols="70" id="message"
style="height: 166px; width: 550px;
font-family: Verdana; font-size: 11px;
padding: 5px; margin: 0px; visibility: visible;"

Title: Re: Font size in Post/Reply box/window
Post by Rad on Nov 25th, 2007 at 11:12pm


You can see from the above screen shot that the reply window text is SMALLER than 10-pixel Verdana (taken from an email in Outlook Express .. compared side-by-side with the reply window).

I don't have access to an 11-px font in O/E, or I would've included that for comparison.

Actually O/E doesn't specify whether the units are points or pixels, but there's not much difference anyway. (Pixels are what I would expect.)

well, this text is obviously not being controlled by the post.pl file cuz i tweaked it ..

.. according to reply #2 posted here:

http://www.yabbforum.com/community/YaBB.pl?num=1188583813

and that change didn't do anything.

i think the font size for that particular window is being controlled by javascript, cuz the "view-source-code" says

it's size = 11, but the actual font (to me) looks more like 9. I mean, 11px Verdana is very easy to see.

The WYSIWYG editing interface for MovableType blogging software is controlled by TinyMCE, a JavaScript applet,

and I had to tweak THAT in order to tweak my WYSIWYG editing interface, which is very similar to the reply

interface/window used by the forum.

I just don't know WHICH javascript is controlling the reply textfield. I haven't yet learned JavaScript.

Maybe someone will come along at the YaBB forums and help us.

[Amish is me in SeaMonkey.]

Title: Re: Font size in Post/Reply box/window
Post by NightOwl on Nov 26th, 2007 at 12:04am
Rad

Thanks for your efforts--here I thought it would be an *easy fix*!  Silly me--we're talking computers and program coding, aren't' we  ;) !!!

What really bugs me is that the style sheet template change works fine on those two text boxes in the *Profile* area--I'm assuming this must be a *bug* in the forum software programing!

Maybe we should file a *bug* report to the developers!  Seems like if they put that option in the Admin area, they intended to have it control the font size in *all* the text boxes--especially the *Reply* message text box--but, again we're talking program coding--I could be all wrong!

Radified Community Forums » Powered by YaBB 2.4!
YaBB © 2000-2009. All Rights Reserved.