Image padding missing

When adding images in the WYSIWYG editor and aligning them to the left of a paragraph, the 15px padding they're supposed to receive to space them from the text isn't working. Here's an example:

What seems to be happening is that when you align the image left, along with adding "float: left" to the span encapsulating the image element, OpenScholar is also adding the width and height of the image. This means that no space is left for the padding.

You can see the spacing working correctly in the second paragraph of my test page. What I did was edit the Source from the WYSIWYG editor and manually removed the width and height styling rules, leaving just the float (I left the width and height attributes, which belong to the img tag).

Hope this makes sense. Thanks!
5 people have
this problem