pre> tags can not have non monospace font or font-size, change to div which can