ingenious idea needed: how to declare different sizes for different fonts? @font-face?

Posted by Haroldo on Stack Overflow See other posts from Stack Overflow or by Haroldo
Published on 2010-04-26T17:19:20Z Indexed on 2010/04/26 17:23 UTC
Read the original article Hit count: 220

Filed under:
|

I've never seen this done, but i get a feeling that there's gotta be a clever way of doing it.

css font-size-adjust looks like it was never meant to be, but when i look around I'm seeing some really ingenious css techniques going on.

Take this on nettuts yesterday for using @font-face for vector icons.

my challenge:

if(user has calibri ) { font-family: calibri; font-size: 12px; }

if(user hasn't calibri ) { font-family: arial; font-size: 10px; }

© Stack Overflow or respective owner

Related posts about html

Related posts about css