You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Jakkampudi, ChandraseKhar" <CJ...@aivia.net> on 2002/03/07 18:32:21 UTC
RE: Setting style class to html taglib
Try styleClass
<html:submit property="submit" value="Submit" styleClass="button"/>
Look here to find a list of valid attributes for submit
http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#submit
-JC
-----Original Message-----
From: Andrew H. Peterson [mailto:apeterson@e-gineering.com]
Sent: Thursday, March 07, 2002 11:33 AM
To: Struts User Forum (E-mail)
Subject: Setting style class to html taglib
I'm using the html taglib, specifically the submit and reset tags. I would
like to apply a CCS class to the buttons called "button":
<html:submit property="submit" value="Submit" class="button"/>
<html:reset class="button"/>
I tried setting the class attribute, but I get the following error:
Attribute class invalid according to the specified TLD
I'm using Struts 1.02
Thanks in advance.
Andrew
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>