Black Friday Sale! Get up to $30 off GP Premium! Learn more ➝

Reply To: Margin on aligncenter images

Home Forums Support Margin on aligncenter images Reply To: Margin on aligncenter images

Home Forums Support Margin on aligncenter images Reply To: Margin on aligncenter images

#110500
Tom
Lead Developer
Lead Developer

Try wrapping your image in a div, and then apply the negative margin to the div.

For example:

<div style="margin: 0 -15px;"><img src="..." /></div>

That should work better 🙂