The label is supposed to be closed before the input tag. IE is nicer
about mistakes like this than Netscape is. Try the code below.
<label for="step2QuestionID1">
<bean:message property="step2Question1LongLabel" name="Step2Form" />
</label>
<input name="step2QuestionID1" type="hidden" id="step2QuestionID1" />
Reference: http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.9.1
-Justin
-----Original Message-----
From: Sunu Mathew [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 11:34 AM
To: user@struts.apache.org
Subject: URGENT HELP
Hi,
Could you please tell me how to use label tag in struts. Label tag is
required in our application (deveice dependant users).
<LABEL FOR="step2QuestionID1">
<bean:message property="step2Question1LongLabel" name="Step2Form" />
<INPUT NAME="step2QuestionID1" TYPE=HIDDEN id="step2QuestionID1">
</LABEL>
This works fine in IE, but the label will not appear in Netscape 6.2
Sunu Mathew
National Patient Safety Agency
4-8 Maple Street
London W1T 5HD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]