replaced grid-size with div-attrs