Hello. I�m using a CSS style (line1) in a radio button, to add borders to the line. But when I click on it, it looses it�s CSS, and becomes a normal radio button, without any CSS, centered left, and without center align. Anybody had this problem? The code of the JSP is as follows:
P.S. It's also a good idea to use UBB code tags when posting code fragments in order to preserve any formatting.
Joined: Dec 12, 2006
Hi Rafael, what i can suggest is, if you are using that style-sheet only for that radio button, then instead of applying it on TD you can pass it onto RADIO like this: <html:radio styleClass="the_style_class">. I hope you know this. If this doesn't work, then you might be changing the style class somehow, on click of radio button.