moving table layout to div