I am currently in the process of developing a website using Twitter Bootstrap, and I am facing an issue with a center-aligned form-horizontal that is supposed to be responsive. However, I have noticed that the input fields are overflowing at specific browser widths. Is there a straightforward solution to this problem without having to deal with media queries? Could it be something missing from my markup? My version is 2.3.2, and here is the HTML code snippet:
<!DOCTYPE HTML>
<html lang="en">
<head>
<link type="text/css" rel="stylesheet" charset="utf-8" href="css/bootstrap.css"/>
<link type="text/css" rel="stylesheet" charset="utf-8" href="css/bootstrap.min.css"/>
<link type="text/css" rel="stylesheet" charset="utf-8" href="css/bootstrap-responsive.css"/>
<link type="text/css" rel="stylesheet" charset="utf-8" href="css/bootstrap-responsive.min.css"/>
<link type="text/css" rel="stylesheet" charset="utf-8" href="override.css"/>
</head>
<body class="home">
... (remaining HTML code)
The Override CSS section:
.right-align {
text-align: right;
}
.inline-block {
display: inline-block;
}
.homelogo {
padding-top: 15px;
padding-left: 20px;
font-size: 26px;
}
(here go more CSS classes...)
input {
max-width: 100% !important;
}
.form-horizontal > fieldset {
padding: 10px;
}
Images showing the broken layout: