You are viewing limited content. For full access, please sign in.

Question

Question

Center "Draft" button to be beside the Submit Button

asked on August 3, 2016

I'm hoping someone can help me out here, it has to be pretty simple. 

 

By default both Submit and Draft are to the far left of the screen. Using the following:


div.btn-wrapper {display:block}
.Submit {display:block;margin:auto}

 

centers the Submit button but not the Draft button. I cannot seem to find if there is an actual name of .Draft for the button. 

 

I'm sure everyone that uses Draft has come across this. 

 

Thanks!!

Draft button.JPG
Draft button.JPG (17.77 KB)
0 0

Answer

SELECTED ANSWER
replied on August 5, 2016

You can use following CSS to set the two buttons in center:

.Submit{position:absolute; left: 40%}
.draft-btn{position:absolute; left: 50%}

0 0
replied on August 5, 2016

Thank you!!

0 0
replied on April 17, 2019

What if I want to do the same with a print button I created with HTML?

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.