Forum Moderators: open
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Style Check</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<style type="text/css">
html,body{height:100%;}
</style>
<script type="text/javascript">
function showSty(){
if(document.all){
var s=document.getElementById("showOne");
alert(s.currentStyle.fontSize);
}else{
var s=getComputedStyle(document.getElementById('showOne'),'');
alert(s.getPropertyValue("font-size"));
}
}
</script>
</head>
<body id="showOne" onclick="showSty();">
</div>
</body>
</html>