struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Grundberg <c04...@cs.umu.se>
Subject Re: Token is wrapped by <div></div>
Date Tue, 05 Sep 2006 13:28:48 GMT
MC Moisei wrote:

>That implies I cannot have divs without class or id...
>
>David Grundberg wrote:
>  
>
>>Try to specify the stylesheet for this specific tag to "display:none;"
>>It should remedy the problem.
>>    
>>
Well, I suppose you'll have to  use some tricks to make it work.

<div class="hidedivs">
<html:form ..>
<div class="workaround">
<html:text ../>
divs with class or id attributes left unspecified
</div>
</html:form>
</div>

And stylesheets:
div.hidedivs {
    display:none
}
div.workaround div {
    display:block;
}

Haven't tested it.

David

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message