When a Submit button is a child to a div with class row the class center is giving the same result as class left whereas right works perfectly fine.
make a submit button a child to div tag.
<div class="row">
<button class="btn waves-effect waves-light center" type="submit" name="action">Submit
<i class="material-icons right">send</i>
</button>
</div>
@DanielRuf Thanks for helping me out but even after applying .center-align and .center on the parent wrapper the float doesn't seem to be fixed. Unable to place button in the center still.
@Shivang-Bhandari can you provide a codepen of your code based on my codepen?
@DanielRuf http://codepen.io/thegrim/pen/ryQJNm
You forgot to remove the right class: http://codepen.io/anon/pen/peQagE
@DanielRuf Thank you so much for helping me out
You are welcome.
Most helpful comment
The class
.centerjust appliestext-align: center. For floating I see just.leftand.righthere.Try using
.center-alignor.centeron the.row(the parent element / wrapper).See here