I am completely new to SharePoint and trying to design/create a page as requested by the company I work for. The issue I'm having is all the tiles I've created within a web part are aligned left. I did create a script editor and added a code that would automatically wrap the tiles so those scroll bars won't appear; however the tiles are not lined up. Any way this can be achieved please? Thanks.
As Nagababu suggested, you need to wrap your code with a
div. The wrapper div will contain following CSS.
<div style='display: block; width: 80%; margin: 0 auto;'> your html goes here....... </div>
By default HTML div display property is
block, so you can omit it if you are not using any custom display property in main css for divs.