To add any type of style to an image you need to:

* After uploading

1. Hover over the image, click on the pencil.
2. In the "Style" box, enter your inline style code.

Example for a border:

border: 1px solid; color: #000;
This will put a 1px solid black border around the image.

For padding it would be the same:

padding-top: 10px;p padding-bottom: #10px;