How To Horizontally Center a Div

You might have encounter something like a portion of your website is not being centered, you were sure that there was no problem with your code but still it won’t go center. We’re