A
A
AntiDanilevski2015-06-17 17:45:46
Classmates
AntiDanilevski, 2015-06-17 17:45:46

How to center the app in Odnoklassniki?

They haven’t found it in the documentation, they haven’t waited for an answer yet, Google hasn’t helped. The question is simple to disgrace: where exactly is the centering of the application set (we have a unity player working accordingly in an iframe). It is logical that adding to our .html does not help, moving the div is not humane ... probably. How to do it right ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AntiDanilevski, 2015-06-18
@AntiDanilevski

We solved the situation by creating our own CSS, in which everything is aligned automatically and does not depend on static values ​​/ coordinates, if this is useful to someone.

V
Vjacheslav Kanivetc, 2015-06-18
@Vjaka

Moving the div is quite humane)
If we want control, then:
1. Set up a fullscreen application
2. Align inside your html through

<div style="margin:0 auto;width:600px;height:600px;">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question