How to center a text box including mobile browser

  • Profile Image
    Asked on July 25, 2017 at 06:22 PM

    Please I need help to center a text box! I have been hours trying to solve this!

    I can center my text box using the margin-left and a % but it will not work with mobiles, because the textboxes will no longer be centered.

    Could you please tell me how I can center my text boxes.


  • Profile Image
    Answered on July 25, 2017 at 09:58 PM

    Please test my form



    If this is how you meant you can get the CSS codes I used from here

    Replace your form CSS with the CSS codes I used.

    I hope this help. Let us know how it goes.