Added missing style and id attributes to figure element