Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-05-31 08:40:03

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 132
Website

Align Img Center

Can Anyone help with simple HTML

Here is a page with a logo at the top.

My Html is very simple in the Page Copy (md)

<p style="text-align: center;"><img alt="" src="https://evagoras.box.com/shared/static/pa5d5xninkz9u40pz0nd1ety9hdvoz42.png" style="width: 600px; height: 90px;" /></p>

<h2 style="text-align: center;">Hampden Brides</h2>

<p style="text-align: center;">8 Onslow Parade, London N14 5JN</p>

<p style="text-align: center;">020 8368 7666</p>

<p style="text-align: center;"><a href="https://www.hampdenbrides.co.uk/">www.hampdenbrides.co.uk</a></p>

<p style="text-align: center;"><a href="mailto:info@hampdenbrides.co.uk">info@hampdenbrides.co.uk</a></p>

But can't get the image to align in the center.. any help would be greatly appreciated

Offline

#2 2019-05-31 08:47:24

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Align Img Center

This should do the trick:

<p><img alt="" src="https://evagoras.box.com/shared/static/pa5d5xninkz9u40pz0nd1ety9hdvoz42.png" style="width: 600px; height: 90px; margin: 0 auto;" /></p>

Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#3 2019-05-31 08:52:18

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 132
Website

Re: Align Img Center

Thanks Dan!

Really appreciate it.

Offline

#4 2019-05-31 10:44:30

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Align Img Center

smile


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

Board footer

Powered by FluxBB