Skip to content Skip to sidebar Skip to footer

How Can I Remove Unwanted Left Margin/padding From Post Images?

I'm fairly new to the whole HTML and CSS thing, so apologies in advance for my cluelessness! I've been trying and failing to align my post images with my text on my blog:http://kit

Solution 1:

looking at your website, I found an a-tag around the image with inline styles:

<ahref="[...]"style="margin-left: 1em; margin-right: 1em;"><imgborder="0"src="[...]"></a>

Thus, just removing the inline styles will also remove the margins :)

Solution 2:

I think this style setting is your problem ...

style="margin-left: 1em; margin-right: 1em;"

When I turned them off the image moved to the right and the cut off part appeared.

Solution 3:

style="margin-left: 1em; margin-right: 1em;" can be fixed to none. See the post for detail.

Post a Comment for "How Can I Remove Unwanted Left Margin/padding From Post Images?"