#5342: Add style attributes to parent container, if it exists.
Merge pull request #5543 from openscholar/5342-image_floating

Add style attributes to parent container, if it exists.