|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
css class attributes inside of struts html tags
How are you supposed to use the class="someCssStyle" attribute format inside of an struts html tag?
I tried just putting it in, but the jsp page won't compile: <html:text property="ssn" class="textfield2" /> where textfield2 is a valid style attribute in my included css file. Surely there is a way to specify this so that the taglib will render the proper output. I'm not having any luck googling for an answer. |
|
#2
|
|||
|
|||
|
hey there...
I had the same problem... solved it using 'styleClass'. <html:text styleClass="your-cssstyle-name-here"... Hope this helps! l8r |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > css class attributes inside of struts html tags |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|