在表单位置div添加:

style="position:relative"

 

在错误信息处添加:

style="position:absolute"