I have a submit button on a form tag is input, obviously. Text-align obviously does not work. I don't want to use margin-left because my width might change later on and I want it to be more "proper". Any way you can think of?
HTML:
<input type="submit" value="Subscribe" name="jetpack_subscriptions_widget">
CSS:
#blog_subscription-3 input[name="jetpack_subscriptions_widget"] {
margin-left:25px;
}
It works for me. I saw that some people forgot about display
property.
#container input[type=button]
{
display: block;
margin: 0 auto;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With