Reputation: 1091
I want the button forced to the left and on a new line. The only way I've been able to accomplish this so far is by inserting some extra markup, <br /><br /><br />
, above the markup for the submit button.
How do I modify this CSS to force the button onto a new line?
fieldset input[type="submit"] {
background-color: #d3dce0;
border: 1px solid #787878;
cursor: pointer;
font-size: 1.0em;
font-weight: 600;
padding: 7px 7px 7px 7px;
margin-top: 20px;
display : inline-block;
}
Upvotes: 2
Views: 6234
Reputation: 167172
In your CSS, please change this line:
fieldset input[type="submit"] {
display: inline-block;
}
to this way:
fieldset input[type="submit"] {
display: block;
}
And no spaces after display
please. :)
Upvotes: 5