Will all fonts take up the same space in the browser with the same value?

Will all fonts be the same with the same meaning?

eg p { font-family:Arial; font-size:12px}

If I change Arial to any other font, will all fonts render at the same size as Arial render at 12px in all browsers?

+2


a source to share


2 answers


The short answer is: No.

I'm not entirely sure of the historical reason for this, although here's one example from a fading story you're dealing with if you want to get into typography in depth.



As empirical evidence for this answer, try pasting this code into a text file and opening the file in a browser:

<div style="font-family:Arial; font-size:12px">This is 12 point type.</div><br />
<div style="font-family:Times New Roman; font-size:12px">This is 12 point type.</div><br />

      

+4


a source


Well, it will most likely look different on Windows and OS X, even if it's the same font.



0


a source







All Articles