How to move a form button left or right using CSS | Community
Skip to main content
Jamie-Carey
Level 4
December 30, 2014

How to move a form button left or right using CSS

  • December 30, 2014
  • 0 replies
  • 252928 views

Issue: You would like to change the position of the form button.

(Typical case: You've just changed the button color of the form and now you want to change the position.)

Please ensure that you have access to an experienced Web developer.

Marketo Technical Support is not set up to assist with troubleshooting code.

Solution:

Add css style using adding the margin-left property referencing  the button. The following code snippet can be a positive or negative number to shift the button left or right. Typically if you used the button solution, add the margin-left property as in the screen shot - or add the code below in a custom html block.

Code snippet:

<style>

div.buttonSubmit input, div.buttonSubmit span {

margin-left: 50px;

}

</style>

Related Articles

How to move the form button up or down using CSS

Forms 1.0 - Change the Style of the Submit Button

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.