I'm facing a problem with my CSS styling that I need help with.
Here is the screenshot of the issue
I am trying to center align the inputs, each placed in its own div, within my form.
Below is the HTML markup for the form:
CSS styling used for it:
The default width and height of html & body elements are set to 100%.
html, body
{
width: 100%;
height: 100%;
...
Here is a screenshot from Chrome devtools showing the issue:
Devtools Screenshot
The inputs are overflowing the div size and I'm unsure why this is happening.
I am also using Bootstrap library for UI which is included in the project. However, upon inspecting the source code of Bootstrap, I see they do not use alignment properties for their controls. They only have CSS styles for border radius and blue highlighting.
Can someone please advise on how to resolve this issue?
Thank you