Fixed code to conform to CSS3 and HTML5 standard.