Re: legend don't work under s:form of struts2

2010-03-15 Thread Alex Rodriguez Lopez
Hi! This might be related to the theme the form is using, http://struts.apache.org/2.1.8.1/docs/themes-and-templates.html This happened to me too, the default s2 theme adds table elements to forms for layout, and trying to use fieldsets results in them being rendered apart from the form

legend don't work under s:form of struts2

2010-03-13 Thread red phoenix
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