Corrected figure syntax

fig caption was changed to <p> and given class .caption as there was no
figure parent.