I’m using this definition in an HTML file:
[code]
<style type=”text/css”>
.Tablature { font: normal normal 12px courier,monospace; }
</style>
I have this element defined later in the script within a table cell:
[code]
<td valign=”top”>
<div class=”Tablature” id=”TabDisplay”></div>
</td>
I write to the <div> element with document.getElementById(‘TabDisplay’).value = ‘Text information sent here’;
I’m getting these errors in my FireFox browser on an iMac:
Warning: Error in parsing value for property ‘font’. Declaration dropped.
Source File: file:///Volumes/USB20FD/BanjoTab.html
Warning: Expected ‘:’ but found ‘;’. Declaration dropped.
Source File: file:///Volumes/USB20FD/BanjoTab.html
[/code]
Does anybody have an idea what I’m doing wrong?
Thanks for any correcting comments.