Jump to content

How to center a button


newcoder1010

Recommended Posts

Hi, 

I have this html:

<div class="form-actions">

<button class="webform-submit button-primary btn btn-default form-submit" type="submit" name="op" value="Get Your Fair Offer Fast!">Get Your Fair Offer Fast!</button>

</div>

https://drive.google.com/open?id=0B7xIEuVi005yTGFNYmtubm80aWc

 

I would like to place the button in the center of the form-actions. I used the following css for other sites and worked. For this site the following code is not working. Please advise. 

css:

 

.form-actions {width:200px; margin-left:auto; margin-right:auto;}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...