fontSize will be 36px;
I wrote this:
Code:
<script type="text/javascript">
window.onload = function() {
var el = document.getElementById('divid');
el.style.fontSize = "36px";
if(el.style.fontSize != "36px" ) { el.style.fontSize = "36px";}
}
</script>

<div id="divid">font-size = 36px;</div>
If I press Ctrl -- , fontSize changes.
If I press Ctrl ++, fontSize changes.
I don't want fontSize changes. What can I do?

I wrote this:
<div id="divid" style="font-size:36px;">font-size = 36px;</div>
If I press Ctrl -- , fontSize changes.
If I press Ctrl ++, fontSize changes.