How to center a Container on the Page - Forum

Forum Navigation
Climate strike banner
You need to log in to create posts and topics.

How to center a Container on the Page

The easiest way to center a Container on the Page is using CSS.
Go to Project -> Properties -> Styles an copy paste this code:

#Container1{
  top:0px!important;
  bottom:0px;
  left:0px!important;
  right:0px;
  margin:auto;
}

Now the Container wich name is "Container1" will be centered on the page.
This is a working sample:
https://aprendiendo.top/admin

UPDATE:
Sice version 2018.12.15 it's possible to center objects programatically using action command SetRelativePosition.