handle more css styles, including font-family and rgba
provide an api for converting html whose styles are stored separately