Edit div attributes