i want to make a program in javascript simply structured in this way:
<div id="main">
<div id="firstDiv"></div>
<div id="secondDiv"></div>
</div>
the mouse pointer can be moved without problem in the secondDiv but when i'll try to enter in the firstDiv the mouse pointer must stop around the border of it. How can i do that?