In chrome, for example: Wrench>Options>Under The Hood>Change Font and Language>Serif Font>Change>Font Size=24+.

Obviously, I'd want to shrink the sheet size and make it so that code boxes that include embedded scrollbars wrap on fewer characters, right? So, can you please include code for one of these two actions things in your example?

Thank you. Comments are greatly appreciated.

2 answers

This was chosen as the best answer

You can use jQuery to get the fontSize of the targeted element and run code based on the size.

     if($('p').css('fontSize') > '20px'){

    console.log('greater than 20px') your code up in here!
Answered almost 7 years ago by Jeffrey Nolte
  • Is this going to actually give the user's 'fontscale', as set by the browser, in the DOM? Not my e-mail address, jerks almost 7 years ago

This is more a matter for designing without setting a fixed font size, using ems and proportional sizing for your elements.

Maybe you also need media queries.

Answered about 5 years ago by Tony Crockford