<div>while debugging some javascript i have come to see that TexMate has an issue with the CSS selector, border-width written in Javascript as style.borderWidth</div><div><br></div><div>If i write style.backgroundColor, it will show in color green in Textmate.</div>
<div><br></div><div>I have retained the TextMate default color scheme in preferences/fonts colors/Mac classic.</div><div><br></div><div>when i write style.borderWidth it stays black as if it were a variable.</div><div><br>
</div><div>I would assume the Browser compiler or interpreter engine ? would accept the Javascript script as is, and that TextMate would not be adding any encoding to its interpretation of the script while showing style.borderWidth as invalid. </div>
<div><br></div><div>i am learning javascript from a book and the author is not ordained by thy holy one and this script works to some degree, yet is off balance, this is what i am working on.</div><div><!--</div><div>/* </div>
<div><code></div><div>var d1 = document.getElementById("div1");</div><div>var d2 = document.getElementById("div2");</div><div><br></div><div>d1.onmouseover = function()</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre">              </span>d1.style.backgroundColor = "00ff00";</div><div><span class="Apple-tab-span" style="white-space:pre">               </span>d2.style.borderWidth = "7px";</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>};</div><div><br></div><div>d1.onmouseout = function()</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>{</div><div><span class="Apple-tab-span" style="white-space:pre">            </span>d1.style.backgroundColor = "#ffffff";</div>
<div><span class="Apple-tab-span" style="white-space:pre">              </span>d2.style.borderWidth = "1px";</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>};</div><div></code> </div><div>*/</div>
<div>--></div><div>I have composed this message offline going over the message many times to see that it is concise and to the point, forgive me if it is long winded and confusing.</div><div>Thank you</div>