weight unification for divs