IE7 cause error when accessing the HTMLElement.style.font property.

In IE7 cause Invalid Arguments error when accessing HTMLElement.style.font property,
so fix style.font to style.font-family, style.font-style, style.font-weight.