optmize the css of float window