<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
#div1{
font-family: verdana;
}
#div2{
font-family: 'Lucida Console';
}
</style>
</head>
<body>
<h1>CSS font-size-adjust Property</h1>
<h2>Div 1</h2>
<div id="div1">This is a div container.</div>
<h2>Div 2</h2>
<div id="div2">This is a div container.</div>
<button onclick="myFunction()">Click Me</button>
<script>
var x = document.getElementsByTagName("div");
function myFunction(){
x[0].style.fontSizeAdjust = "0.50";
x[1].style.fontSizeAdjust = "0.50";
}
</script>
<p><strong>Note</strong>: click on the button to set the font-size-adjust property. It works only in firefox.</p> </body>
</html>