omg
omg

Reputation: 139862

What does font size -2 mean here?

I see this from source code of a web site:

<font size="-2">@2009 </font>

What does it mean when size is negative?

Upvotes: 8

Views: 10062

Answers (3)

womp
womp

Reputation: 116977

That is a deprecated style of markup. Nobody should be using it anymore.

Back in the old days, before CSS, you could use the <font> tag to control the relative size of text on the page. A "-2" simply meant two sizes smaller than your base font size.

Font sizes ranged from 1 to 7 in first generation browsers, if I recall correctly.

Upvotes: 10

Robert Harvey
Robert Harvey

Reputation: 180787

It means two notches smaller than the default text size in the browser.

Upvotes: 0

Brandon
Brandon

Reputation: 14196

It means the font size of @2009 should be -2 units (i.e. 2 units smaller) relative to the content around it.

Upvotes: 7

Related Questions