'width' Example : width pre « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- width pre
'width' Example
<html>
<body>
<pre id="myPre"
style="font-size:14pt;">This text is embedded within pre tags.</pre>
<script language="JavaScript">
document.all.myPre.width = "300";
</script>
</body>
</html>
Related examples in the same category