fixes #8469 - css cleanup, whitespaces and remove dead code

Though defaulted to px, the standard is to add the unit, e.g., 0px (also above)