I think your best bet to center the items would be to use the layoutgrid to structure your pages. This is based on the Bootstrap grid system and is able to scale based on the view port size. Here are the documentation for the layout grid and the Bootstrap documentation:
https://docs.mendix.com/refguide/layout-grid
https://getbootstrap.com/docs/3.3/css/
Hopefully this is helpful.