style input page for m1