作者: | 来源:互联网 | 2023-09-14 17:29
Thesubmitbuttonoftheformtendstobesooclosetothefieldforsomereason.IamusingBootstr
The submit button of the form tends to be soo close to the field for some reason. I am using Bootstrap by the way.
由于某种原因,表单的提交按钮往往太靠近该字段。我顺便使用Bootstrap。
Code:
The site has other forms in other pages and all, and doesnt really had the problem. Not sure why is it happening for this one.
该网站在其他页面和所有页面中都有其他形式,并没有真正出现问题。不知道为什么会发生这种情况。
Note : closing
just before the button fixes the issue, but then it wont submit since the button is no longer the part of the form.!
注意:在按钮修复问题之前关闭
,但由于按钮不再是表单的一部分,因此它不会提交。
Looking to find whats wrong in the code, rather than a hack fix in the css.
希望在代码中找到错误,而不是在CSS中修复hack。
This is how it looks.
这是它的外观。
FIX : In the code, made