Center player in browser

Q&A about the latest versions
Post Reply
ARobbert
Posts: 5
Joined: Mon Jan 25, 2016 11:03 am

Center player in browser

Post by ARobbert » Thu Mar 17, 2016 6:08 pm

Is there a way to center the HTML5 java player in the browser window?

ARobbert
Posts: 5
Joined: Mon Jan 25, 2016 11:03 am

Re: Center player in browser

Post by ARobbert » Fri Mar 18, 2016 5:01 pm

If I add the code needed to center my page in the browser:

div#container
{
width: 994px;
position: relative;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
text-align: left;
}

The player disappears. How are people adding this to sites that are centered in the browser?

PhotoSpherix
Posts: 293
Joined: Wed Oct 22, 2008 9:45 pm
Location: Beech Grove
Contact:

Re: Center player in browser

Post by PhotoSpherix » Tue Mar 22, 2016 4:27 pm

I wrap it in an outer div that centers, then shows the 360 container inside.
PhotoSpherix
Starting a revolution in Photography
360 Product Photography

User avatar
Hopki
Gnome
Posts: 9651
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Center player in browser

Post by Hopki » Sat Mar 26, 2016 5:50 pm


Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests