kemayo/maphilight — Issue #16: Forced left justification of mapped images - why is this happening?
Author: jyeager11
Created: 2012-01-03 22:35:43+00:00
State: open

For the life of me, I can't figure out why this thing justifies my image to the left no matter what I do to break that behavior. I tried applying float:right to it, I tried making sure the container was set to text-align:right... but the darn thing won't budge as long as it has class "map" assigned to it. I even tried applying a style="padding-left:100px" directly on the image to get it away from the left side border, but even that gets ignored.

Soon as I remove the "map" class, however, it behaves normally again. Of course, then it loses its link to this script, so that's no solution.

Anyone know what could be causing this? The behavior is identical on all major browsers and it's really annoying.