更改警报错误位置

时间:2012-09-15 09:48:45

标签: html css forms position

构建表单通过EMAIL联系我们表单我将其上传到我的服务器,我想更改CSS文件的错误位置(当您单击提交按钮时,所有字段未正确填写标记错误 - 红色)我的问题很简单:如何更改CSS文件以使错误隔膜在左侧而不是在右侧?谢谢!

表单位于此链接中:http://lawb.co.il/HTMLPage.html

CSS文件位于以下链接中:http://lawb.co.il/contact_us.css

您可以在此处查看我想要的示例:enter image description here 这是一个问题 enter code here

有可能吗?

2 个答案:

答案 0 :(得分:2)

在contact.js中添加promptPosition:"topLeft"

EMF_jQuery("#emf-form").validationEngine({
                validationEventTriggers:"blur",
                scroll:true,
                promptPosition: "topLeft"
        });

CSS中的这些行:

   .formError {
   ...
   left: 360px !important;
   ...
   }

   .formError .formErrorContent {
   ...
   width: 310px !important;
   ...
   }

   formError .formErrorArrow {
   ...
   left: 70%;
   ...
   }

它应该有用。

答案 1 :(得分:0)

试试这个

            align:left;

            float:left;