Cleaned up the figure element styles.