Alden Bates (abates) wrote,
Alden Bates
abates

Browser fonts



OK, so what's happened here? The bits of text on the right-hand side are set using <font size="n">. As you can see, the sizes are rendered identically in IE, Opera and FireFox.

On the left, the text has been sized using the style attribute "font-size" set to the appropriate value. In IE and Opera, these match up with the numeric values, so xx-small is the same as font size 1, x-small is the same as font size 2, etc.

However in Firefox, x-small is the same as font size 1, small is the same as font size 2... all the fonts render one size smaller in Firefox compared to the other two browsers I tried.

WTF?
Subscribe

  • Hi Livejournal

    Long time, no write. I hope everyone is keeping safe from the pandemic and not going out much. I started working from home earlier this week when…

  • Wait

    What happened to my friends page? Clearly I have been away from LJ too long and they have changed things. Look, I'm a big subscriber to the idea…

  • I've been playing Fallout 3 a bunch recently

    I'm playing it as an evil character because I already did a good playthrough. Reminds me of someone...

  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments