在firefox中,錯誤消息顯示爲應該顯示。就在被驗證元素的右側。在IE中。無論我如何處理標籤/元素/錯誤的大小,都會將錯誤發佈到元素下方,導致每個其他元素都被推下。jQuery驗證格式IE中的問題
<p>
<label for="handle"><strong>User Name</strong></label>
<INPUT NAME="handle" id="handle" VALUE="#attributes.getUser.handle#">
</p>
<p>
<label for="password"><strong>Password</strong></label>
<INPUT TYPE="TEXT" id="password" NAME="password"
MAXLENGTH=50 VALUE="#attributes.getUser.password#">
</p>
<p>
<label for="confirmPassword"><strong>Confirm Password</strong></label>
<INPUT TYPE="TEXT" id="confirmPassword" NAME="confirmPassword"
MAXLENGTH=50 VALUE="#attributes.getUser.password#">
</p>
如果任何人有過這個問題,我會任何幫助非常感謝。
我使用此代碼示例是否錯誤? – 2008-11-12 23:11:58
你不需要「print(」),你可以將每一行代碼縮進4個空格 – 2008-11-12 23:17:21