Tweaked the CSS code to avoid inline style.