panorama software,virtual tour software
Alternate Text
Joined: 2002-10-05
Send Msg:
Posts: 110
2010-10-06
#1

Centre Tour

It's just a basic and simple problem Im sure. How do you centre the tour page? The loading page is fine but when the tour loads it always justifies to the left. Im sure theres a simple answer but I cant find it, can anyone give the simple solution?  

 


Terry
Nikon D300(Sept08), Sigma 8mm, agnos short
Alternate Text
Joined: 2008-05-10
Send Msg:
Posts: 590
2010-10-06
#2
Hi Terry. there are a few methods of doing this. One with CSS and one with a simple html attribute.

The simplest to explain is the html.

If you go to the created html page that displays your tour. Open this page in a text editor i.e Notepad.

Look for this section of code

<body leftMargin="0" topMargin="0" rightMargin="0" bottomMargin="0">

Add to the end <center>

So you will end up with
<body leftMargin="0" topMargin="0" rightMargin="0" bottomMargin="0"> <center>

Save it and upload it.

Job done

Apartment rentals Nerja

Villa rentals Nerja

Accommodation Nerja

Alternate Text
Joined: 2002-10-05
Send Msg:
Posts: 110
2010-10-06
#3

Thanks nerjaace,

I knew it was only a fairly simple solution.....(if you know the answer) but I couldn't find the solution, thanks for your prompt reply.


Terry
Nikon D300(Sept08), Sigma 8mm, agnos short
Alternate Text
Joined: 2002-10-05
Send Msg:
Posts: 110
2010-10-07
#4

OK, opened the HTML file in notepad, added <center> saved changes and uploaded the amended file, still no joy?

Take a look at http://www.terrynamvr.co.uk/1_rose_tour/TourWeaver_1_rose_tour.html

and advise me accordingly

 


Terry
Nikon D300(Sept08), Sigma 8mm, agnos short
Alternate Text
Joined: 2005-06-26
Send Msg:
Posts: 218
2010-10-07
#5

Hi Terry,

I use a template when I need to centre my tours which is accessed through the General tab in Publish Settings. My template centres both horizontal and vertical. Something like this http://www.ipan360.co.uk/ep_test/

If this is what you need, PM me and I can send you the code.

Willie



Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2010-10-07
#6

<body leftMargin="0" topMargin="0" rightMargin="0" bottomMargin="0" align="center">

or use "div" <div align="center"> tour code </div>

Regards, Smooth [8D]

 

 


Alternate Text
Joined: 2009-05-08
Send Msg:
Posts: 23
2010-10-09
#7
<body leftMargin="0" topMargin="0" rightMargin="0" bottomMargin="0" background="bg.gif">
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent" align="center">
To view virtual tour properly, Flash Player 9.0.28 or later version is needed.
Marek
www.real24.ee
www.3dsolutions.eu