fix a bug in css of float window