HTML ootput center

Q&A about the latest versions
Post Reply
ReuvenG
Posts: 1
Joined: Wed Dec 21, 2011 2:03 pm

HTML ootput center

Post by ReuvenG » Tue Jan 17, 2012 11:14 am

Can some one tell me why I the object2vr output is not in the center of the HTML page?
see the attachment
Attachments
can not CENTER.JPG
can not CENTER.JPG (43.06 KiB) Viewed 3150 times

vdm
Posts: 19
Joined: Tue May 18, 2010 9:33 am
Location: France
Contact:

Re: HTML ootput center

Post by vdm » Fri Jan 20, 2012 9:00 am

Hello, I also have this problem. This is related to html ... I tried to create a table with KompoZer ... But I can not integrate the source code ... I wish I could easily integrate html or html5 to a site.
Could someone explain how?
Thank you

smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

Re: HTML ootput center

Post by smooth » Fri Jan 20, 2012 4:29 pm

Simply open your Object2VR generated .html page in a HTML editor or Notepad/wordpad etc.

You need to add <div align="center"> just under the opening <body> tag.
So it will look something like this:

Code: Select all

<body onorientationchange="hideUrlBar();">
<div align="center">
<h1></h1>
Regards, Smooth 8)
Image

vdm
Posts: 19
Joined: Tue May 18, 2010 9:33 am
Location: France
Contact:

Re: HTML ootput center

Post by vdm » Fri Jan 20, 2012 4:39 pm

Hello, thank you Smooth for this tip.
vdm

newbie
Posts: 10
Joined: Sat Jul 28, 2007 1:32 am

Re: HTML ootput center

Post by newbie » Sun Dec 02, 2012 10:28 pm

Hi Smooth,

Found this answer re. centering in a generated html file you gave. THANK YOU very much!!!

This got me to thinking/wishing (!) ... I want to set up a ".ggt" ("mynormal.ggt"?), file that always generates the output html file with this "centering function" enabled for HTML5, Flash, Quicktime, Transformation (all of them!).

I looked in the "normal.ggt" but couldn't tell where/how to do this. Can it be done?

Sign me ... a non-coding person.

Thanks
Mo - Vista 64, Canon, CorelDRAW, Lightroom, PTGui PRO, Pano2VR PRO

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests