Look like there is a typos in the code, missing > in the button. And there could be issue with the secret class "favourites".
Should be
<button ...> your other element </button>
and not
<button ... your other element </button>
Here is an example based on the posted code (sort of)
cp_image_btn_not_allign - JSFiddle[
^]