fix firefox,ie max-width bug