Java Floating Point Overflow Css Not Working