Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How often is the default font size in the browser not 16px?

Tags:

css

After writing a great big answer to the question Is it bad to work with pixels in CSS? in which I concluded that there's normally nothing wrong with it provided you understand the limitations, I started to wonder about how many people have the default font size set to something other than 16px.

I imagine that there would be some users who change it due to either poor eyesight or high pixel density monitors (like those with 1920*1080 screens on 15" laptops) (or maybe just because they like larger text). There also may be some devices (handheld devices?) that have the default font size set to something else, but this is purely conjecture on my part.

My question is: does anybody know any statistics on what percentage of users have the default browser font size set to something other than 16px?

like image 467
David Johnstone Avatar asked Oct 04 '10 03:10

David Johnstone


People also ask

What is the default font size of browser?

Set Font Size With Em The default text size in browsers is 16px. So, the default size of 1em is 16px.

What size is 16px font?

1 pixel (px) is usually assumed to be 1/96th of an inch. 1 point (pt) is assumed to be 1/72nd of an inch. Therefore 16px = 12pt.

What is the default font size HTML?

The default font size is 3, and the largest font size that can be displayed in a browser is 7.

What is the default font size in Google Chrome?

Change font and image size Near the top of the drop-down menu that appears, you can use the + (plus) or - (minus) in the Zoom section of the menu to increase or decrease the font size. Chrome's default zoom setting is 100%.


2 Answers

This avoids answering your question, but IMHO such statistics shouldn't matter even if it were near zero percent.

Even if 16px were the de-facto standard, you should start from the position that this is something that the designer doesn't ultimately control, and it should be left up to the user to choose their font size. Your decision process should lead to designs that are flexible based on the user's needs.

like image 193
Andrew Vit Avatar answered Oct 02 '22 05:10

Andrew Vit


I'm not sure if you've found much by way of google but this search bought up this page as hit 1: http://www.oreillynet.com/xml/blog/2006/03/more_statistics_on_user_clicks.html

Incidentally this question is on page one of the search too :)

Its from 2006, but the first bit has a little about the font size settings in IE.

I doubt there is any documented data for this specific thing.

One thing I can tell you is that in over 10 years of working around computers I've seen about 1 in 10 users having a above default DPI setting. eg. 120 that caused the font size to be bigger than 16px in their browser. It also caused layouts that weren't styled properly to break.

like image 43
Moin Zaman Avatar answered Oct 02 '22 07:10

Moin Zaman