title: drag & drop script started crashing after css changed
body: <p>I'm trying to make a <code>div</code> drag and drop certain places. It worked fine, but then I changed the <code>css</code> and now it started crashing the <code>javascript</code> and I don't seems to be able to find the reason in the <code>css</code>.</p>
  
  <p>Any clue on how to fix this?</p>
  
  <pre><code>&lt;style&gt;
      .targetBox{
      width: 10em; 
          height: 10em; 
          -webkit-border-radius: 5em; 
          -moz-border-radius: 5em;
          border-radius: 5em;
          border:3px dashed black;
          float:left;
      }
  
      .imageBox{
          width: 10em; 
          height: 10em;
          -webkit-border-radius: 5em; 
          -moz-border-radius: 5em;
          border-radius: 5em;
          padding:1px;
          border:1px solid #aaaaaa; 
          background-color:red;
      }
  
      .imageBox-wrapper{
          position:relative;
          display:inline-block;
          margin:auto;
          top:25em;
      }
  &lt;/style&gt;
  
  &lt;script type="text/javascript"&gt;
      function allowDrop(ev) {
          ev.preventDefault();
      }
  
      function drag(ev) {
          ev.dataTransfer.setData("Text", ev.target.id);
      }
  
      function drop(ev) {
          ev.preventDefault();
          var data = ev.dataTransfer.getData("Text");
          ev.target.appendChild(document.getElementById(data));
      }
  &lt;/script&gt;
  
  &lt;div&gt;
      &lt;div class="targetBox" ondrop="drop(event)" ondragover="allowDrop(event)"&gt;&lt;/div&gt;
      &lt;div class="targetBox" ondrop="drop(event)" ondragover="allowDrop(event)"&gt;&lt;/div&gt;
      &lt;div class="targetBox" ondrop="drop(event)" ondragover="allowDrop(event)"&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="imageBox-wrapper"&gt;
      &lt;div class="imageBox" draggable="true" ondragstart="drag(event)"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>EDIT</strong>
  Created a <a href="http://jsfiddle.net/eBsqJ/1/" rel="nofollow">Fiddle</a>. Don't know if it's because the break happens, but for some reason the fiddle doesn't show the drag animation I see in my VS project.</p>