Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

Trying to center button on the page

Asked by Ankur Vaish Jul 19, 2021 2.1K views 1 answer
Share

About this question

I have the following component code that I am trying to use to center a button on a page. It keeps showing left-aligned. I have tried using

tag and slds-align_absolute-center. Neither change the left alignment I am seeing.
How to center button in div?

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.