Update main.css

modified code for cross browser compatibility (IE 7)