Page 1 of 1

HTML ootput center

Posted: Tue Jan 17, 2012 11:14 am
by ReuvenG
Can some one tell me why I the object2vr output is not in the center of the HTML page?
see the attachment

Re: HTML ootput center

Posted: Fri Jan 20, 2012 9:00 am
by vdm
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

Re: HTML ootput center

Posted: Fri Jan 20, 2012 4:29 pm
by smooth
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)

Re: HTML ootput center

Posted: Fri Jan 20, 2012 4:39 pm
by vdm
Hello, thank you Smooth for this tip.
vdm

Re: HTML ootput center

Posted: Sun Dec 02, 2012 10:28 pm
by newbie
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