fix style of element code in pre