Daft CSS for reply textarea

Discussion in 'Forum Questions and Suggestions' started by NoEyeDeer, Feb 13, 2018.

  1. NoEyeDeer
    Joined: Jun 2010
    Posts: 983
    Likes: 32, Points: 28, Legacy Rep: 300
    Location: Australia

    NoEyeDeer Senior Member

    Just noticed something today (yes, I'm not very active here these days). The textarea for replies has minute text. Which is dumb, since it should default to the same size text as is used in the post you are replying to. Having it tiny makes no sense.

    It's due to a stupid font stack for textareas. They have chosen an assortment of fonts which appear to be randomly picked from common Windows and Apple fonts, but which bear no relation to each other in terms of visible display sizing. The stack leads with Calibri, which is fine in itself, but the problem is that Calibri is well known (by anyone who knows anything about fonts, which should include vB developers) to have a markedly different vertical height to many other fonts of the same nominal size. There were numerous articles about this problem back when Calibri and associated fonts were released by MS.

    IOW, 13px Calibri is tiny, while 13px Verdana looks pretty normal, as well as being around twice the width. This means they are not a good match in a font stack.

    It would be better to change the textarea CSS to use the same fonts as are used in posts. Namely this:

    Code:
    .messageText {
        font-size: 12pt;
        font-family: Georgia,"Times New Roman",Times,serif;
        line-height: 1.5;
    }
     
< Sort latest posts first | is it possible to list my threads? (resolved) >
Forum posts represent the experience, opinion, and view of individual users. Boat Design Net does not necessarily endorse nor share the view of each individual post.
When making potentially dangerous or financial decisions, always employ and consult appropriate professionals. Your circumstances or experience may be different.