[thelist] DHTML in Opera

George Klingenhoffer georgek at tennishockey.com
Fri Jul 20 11:59:29 CDT 2001

Does Opera not support changing of border properties?  I have a div with a
border and I'm trying to click on the div and change the border color.  Any

here's the line I'm using:

document.getElementById('menuoption1').style.border-color = 'blue';

and the div:
<div id="menuoption1" style="background-color:#FFFFFF;border:2px solid
red;" onClick="javascript:turn()">MenuOption1</div>

More information about the thelist mailing list