code: function(node, geometry) {
  
          var bbox = geometry.getBounds();
          if(bbox) {
              var resolution = this.getResolution();
          
              var scaledBox = 
                  new OpenLayers.Bounds(((bbox.left - this.featureDx)/resolution - this.offset.x) | 0,
                                        (bbox.bottom/resolution - this.offset.y) | 0,
                                        ((bbox.right - this.featureDx)/resolution - this.offset.x) | 0,
                                        (bbox.top/resolution - this.offset.y) | 0);
              
              // Set the internal coordinate system to draw the path
              node.style.left = scaledBox.left + "px";
              node.style.top = scaledBox.top + "px";
              node.style.width = scaledBox.getWidth() + "px";
              node.style.height = scaledBox.getHeight() + "px";
      
              node.coordorigin = scaledBox.left + " " + scaledBox.top;
              node.coordsize = scaledBox.getWidth()+ " " + scaledBox.getHeight();
          }
      }
docs: Method: setNodeDimension
  Get the geometry's bounds, convert it to our vml coordinate system,
  then set the node's position, size, and local coordinate system.
  
  Parameters:
  node - {DOMElement}
  geometry - {<OpenLayers.Geometry>}