It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

2nd in font list size different?

2nd in font list size different?

Postby jax23 on Thu Feb 11, 2010 9:24 pm

Is it possible in javaScript when you have a font list on a website, for javaScript to write a rule so that if the first font is not available in a browser, the second font on the list can have a different size to the first?

Was expecting to build the site with the body text to be 100% and other text in relative ems, but want 1st font (arial narrow) and second font (arial) to take up the same amount of space if its replaced and dont know how to do it.

any ideas? thanks
jax23
 
Posts: 1
Joined: Sat Jan 23, 2010 5:35 pm

Who is online

Users browsing this forum: No registered users and 2 guests