Replace image padding with CSS padding

Change-Id: If2eccf71107a2613cefe5ebb87ae3e5084c8db15