Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Invision Power Board 1.3 - Changing font size in Post, Reply & Edit boxes

Reply
Thread Tools

Invision Power Board 1.3 - Changing font size in Post, Reply & Edit boxes

 
 
Paul D. Sullivan
Guest
Posts: n/a
 
      07-20-2005
I've been trying to find out how to increase the font size in the
text entry fields in Invision Power Board 1.3 for a while. The
part where you enter your post and do the quick reply and all
that has a really small font by comparision to the display font
in the forum, and I wanted to at least have the same size if
possible.

After some hours of working the issue, I tested about every
relevant entry in the Style Sheet. I found one line that didn't
seem to work at all, no matter what I did. It looked like this:

..forminput, .textinput, .radiobutton, .checkbox { font-size:
11px; font-family: verdana, helvetica, sans-serif;
vertical-align: middle }

I have this philosophy that when I want to work on something, I
break it down into its constituent parts, so I tried that here
and created 4 individual Styles:

..forminput { font-size: 11px; font-family: verdana, helvetica,
sans-serif; vertical-align: middle }
..textinput { font-size: 11px; font-family: verdana, helvetica,
sans-serif; vertical-align: middle }
..radiobutton { font-size: 11px; font-family: verdana, helvetica,
sans-serif; vertical-align: middle }
..checkbox { font-size: 11px; font-family: verdana, helvetica,
sans-serif; vertical-align: middle }

Once I did that, I was able to make a change to the font size for
each of those 4 entries and THIS time, it actually worked.

The main one to worry about is TEXTINPUT. That is the main body
of where you enter the text. I went ahead and set that to 12px.
I also set FORMINPUT to 12px. That is for the edit boxes for
title and description, etc. So, the final deal was to replace
the single line with 4 individual lines and the final changes
looked like this:

..forminput { font-size: 12px; font-family: verdana, helvetica,
sans-serif; vertical-align: middle }
..textinput { font-size: 12px; font-family: verdana, helvetica,
sans-serif; vertical-align: middle }
..radiobutton { font-size: 11px; font-family: verdana, helvetica,
sans-serif; vertical-align: middle }
..checkbox { font-size: 11px; font-family: verdana, helvetica,
sans-serif; vertical-align: middle }

You can make 'em as big as ya want, but for me, 12px is just
fine.

So, it would seem that the problem is solved, at least for me.

Of note - there are two other key lines that may be helpful to
ya'all. In the style sheet they show up like this:

..postcolor { font-size: 12px; line-height: 140% }
..signature { font-size: 10px; color: darkblue; line-height:
130% }

Postcolor is the default font size to display the forums. When I
looked at it, the line-height was 160%, I think. So, I set it to
140%, and it seems well spaced now.

Signature is the default signature style, and I changed its
line-height to 130% and the default color to blue to
differentiate it from the main post.

One thing you can do if you wish for the TEXTINPUT style is give
it the same LINE-HEIGHT as the POSTCOLOR area to ensure
consistency in appearance. I was able to do that by making the
following modification:

..textinput { font-size: 12px; font-family: verdana, helvetica,
sans-serif; vertical-align: middle; line-height: 140% }

I hope all this helps someone in their quest for formatting
control in IPB 1.3.

Good luck.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Swing Font, it's Java Font? ot native? how install new font? mttc Java 2 07-03-2009 07:29 PM
Snapshot restraint - edit, edit, edit Alan Browne Digital Photography 24 05-10-2005 10:15 PM
Anybody know a forum or newsgroup where I can get help with using Invision board? as94 Computer Support 9 01-02-2005 05:07 AM
Is it possible to set the size of text boxes in edit mode ? Ing. Rajesh Kumar ASP .Net 2 05-22-2004 06:42 PM
What is "Invision 2"? James Lehmann Computer Support 1 09-01-2003 09:17 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57