     # unless first element is a tr, wrap in a span
     first = @$el.children().first()
     if @wrap && first && first[0].tagName != "TR"
-      @$el.html( "<span id='#{@id}'>" + @$el.html() + "</span>" )
+      @$el.html( "<div id='#{@id}'>" + @$el.html() + "</div>" )
     else
       first.attr("id", @id)
 


  redraw: ->
    @$el.html(@render_html())
    $("span#"+@id).html(@$el.html())
    @bind_events()
    @


  # If ID is null, then one will be generated for you
  # id: null
  # className: null
  tagName: "div"

  # Reference to parent view
  parent: null
