adapting to div-only html