Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

legend don't work under <s:form> of struts2

red phoenix

2010-03-14

Replies: Find Java Web Hosting

Author LoginPost Reply
I want to use legend tag under struts2,I set legend css like follows:
form{
padding:10px;
margin:0 auto;
}
form#form legend {
border:1px solid #e8e7e1;
background:#fff url(../img/form_red.gif) repeat-x center left;
color:#a43708;
}

following code can run well:
<h3 id="adduser" style="width:100%;">Add user</h3>
<form id="form">
<fieldset id="personal">
  <legend>information</legend>
</fieldset>
</form>

Then I use <s:form> to replace <form> tag,like follows:
<h3 id="adduser" style="width:100%;">Add user</h3>
<s:form id="form">
<fieldset id="personal">
  <legend>information</legend>
</fieldset>
</s:form>

Then I find legend tag don't work! Why? How to correct above code to
make legned tag run again?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.