I currently have an HTML form linked to a CSS file.
Here is the HTML code:
.css-form-group{
margin-bottom:10px;
clear:both;
}
.css-form-group label{
font-weight: bold;
}
.form-input{
float: right;
}
.form-input:focus{
background: yellow;
}
/*sizes*/
.css-col-3{
width:25%;
}
.css-form-submit{
clear:both;
}
.css-form-submit input[type='submit']{
float:right;
}
.css-form-pane{
background: rgb(212,208,200);
min-height: 20px;
padding: 19px;
margin-bottom: 20px;
border: 1px solid #e3e3e3;
webkit-box-shadow::inset 0 1px 1px rgba(0, 0, 0, 0.05);
-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
The issue I am encountering is that the form pane does not fully enclose the form elements, causing the buttons to be outside of it. Additionally, setting a specific width, such as 500px, for the form pane does not work as expected despite the inputs and labels fitting within that size. Can someone please help me understand what is causing these issues so I can resolve them effectively?