Dear Monks,

I logged in today (08/28/2011), and the fonts on my browser were so small, I had to maximize my browser to read PerlMonks.

My display is 1920px x 1080px ( Viewable: 1280px x 780px ). The web master can test the "ViewHeight.value" and "ViewWidth.value" properties and if available use these for selecting the HTML/CSS sizes. It would be greatly appreciated

Thank you

"Well done is better than well said." - Benjamin Franklin

Update: I logged in today (08/29/2011), and the fonts were fine without any changes on my behalf, sorry for the waste of bandwidth.

Replies are listed 'Best First'.
Re: Fonts on browser too small.
by Corion (Patriarch) on Aug 28, 2011 at 11:43 UTC

    If this change happened today, most likely, you got a bad version of the site CSS.

    If this situation was "always that way", you can change how the site is displayed using custom CSS in the Display Settings, or by enlarging the default font size your browser uses.

    We do not use Javascript for the website here, especially not for automatically messing with settings that a user might want to set themselves. Javascript is far too great a vector for security problems, so I do not want to encourage its use where it is unnecessary.

    Potentially, we could set up different screen layouts or font sizes using the @media selector, but so far, nobody has done so. For example, you could set up special hints for the browser if it thinks it is a low-resolution, low-input features browser:

    @media handheld, projection, tv { #box { position: absolute; } }

    In theory, the same could also be done for large-browser environments:

    <link media="only screen and (max-device-width: 480px)" href="iPhone.c +ss" type="text/css" rel="stylesheet" /> <link media="only screen and (min-device-width: 1920px)" href="bigScre +en.css" type="text/css" rel="stylesheet" />

    ... but just because I have a big screen does not mean that my browser takes up the whole available width of 1920 pixels.

      PM is a very small part of my day. But you do have some javascript, see below:

      <div class="perlads"><script type="text/javascript" src="http://adserv +er.szabgab.com/ads/direct_link_selflink.js?cnt=3"></script> </div>

      But if the fonts are too small tomorrow, I will look at doing one of suggestions.

      Thank you

      "Well done is better than well said." - Benjamin Franklin

        But you do have some javascript, see below:

        That is not javascript or proof of javascript on perlmonks, its just stuff in code tags :)

Re: Fonts on browser too small.
by zentara (Cardinal) on Aug 28, 2011 at 15:11 UTC
    I don't know what browser you are using, but Firefox lets you adjust fonts with a <control><+> or a <control><->. It seems to remember the setting you make for each website. I adjusted my font zoom for Perlmonks one time, and it has been fine ever since.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

      Yes, I also think that the problem can be here.

      Maybe you have used recently: Tools -> "Clear Recent History" -> "Site preferences" or something like this in Firefox?

Re: Fonts on browser too small.
by Khen1950fx (Canon) on Aug 28, 2011 at 19:12 UTC
    Customizing PerlMonks CSS is usually confusing for those that infrequently utilize PerlMonks; however, it's actually very simple. Go to the Search box on the top left-side of PerlMonks and enter "Display Settings". It'll take you to your display settings page. Scroll down to "On-Site CSS Markup". Put this in the box:
    tt font { font-size: larger; } ul font { font-size: larger; }
    "larger" increases the size by one point. Conversely, "smaller" would decrease the size by one point. One point may not seem like very much, but it's significantly noticeable. The tt font is for code, and the ul font is for replies. If one point isn't large enough, you can always take it up any number of points as for example:
    tt font { font-size: 2pt; }
    or more---you'll need to experiment with it. When I first tried it, I took it up 40pt, but don't do that:).

      Thanks Khen1950fx

      If you look at the update, I didn't have to make any changes. But if in the future I need to, I'll probably use your suggestions.

      Thank you . . . Ed

      "Well done is better than well said." - Benjamin Franklin

Re: Fonts on browser too small.
by Anonymous Monk on Aug 28, 2011 at 11:41 UTC

    Or you could learn to work your browser (increase font size) and Perlmonks themes (even custom CSS) :)

    ViewHeight is not CSS

    But I agree, if points vs pixels makes a difference, the font sizes should be specified in points (or ems) instead of pxs

      There are only a few px units left in css/common.css, and they don't really contribute to a completely unreadable site. I think jdporter eliminated most absolute font sizes a long time ago.