Well, first I've moved the text-align property in the style attribute of the div tag, so that it applies on the whole box. Then I've used the wikitext file syntax to make the images display on the left and on the right, avoiding using further tags.

Community content is available under CC-BY-SA unless otherwise noted.