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-08-23 04:20:56

MasterPO
Member
From: The Netherlands
Registered: 2014-01-02
Posts: 24
Website

Uploaded images centered and side by side failed

Hi,
I'm uchanging my BL2 site from Okapi to Pangolin.
Something strange is happening on my 'about' page.
In Okapi style the upper images are centered and side by side. When I change the page template in the Design Page to the Pangolin page, the images show up centered but not side by side. Instead the showup above each other.

I use the following in the Main Copy of the Page settings:

<p align= "center">
<img src=http://potokphotography.com//backlight/designer/page/image/11 width=150 alt="Thea Oranje in Khajuraho" title="Thea Oranje in Khajuraho">
<img src=http://potokphotography.com//backlight/designer/page/image/10 width=150 alt="Peter Oranje in Mandu" title="Peter Oranje in Mandu"

How can I get them centered and side by side again?
my site: potokphotography.com

Peter

Offline

#2 2019-08-23 04:54:48

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Uploaded images centered and side by side failed

When I look at the page, the images are side by side.

However, align="center" is deprecated in html 5 and may not work in all browsers. And there are other problems with the html.
instead of:
<p align="center">your content</p>

use

<div style="text-align:center;">
<img style="display: inline-block;" src="http://potokphotography.com//backlight/designer/page/image/11" width=150 alt="Thea Oranje in Khajuraho" title="Thea Oranje in Khajuraho"> 
<img style="display: inline-block;" src="http://potokphotography.com//backlight/designer/page/image/10" width=150 alt="Peter Oranje in Mandu" title="Peter Oranje in Mandu"></div>

I cleaned up some of the image html adding quotes where needed and closing an image tag.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2019-08-23 05:14:51

MasterPO
Member
From: The Netherlands
Registered: 2014-01-02
Posts: 24
Website

Re: Uploaded images centered and side by side failed

Yess, it works!!

The images were side by side when you looked at it, because I changes back to Okapi

thanks again Rod

Peter

Offline

Board footer

Powered by FluxBB