Hell all, I am using struts and one thing confused me is the html:submit button size. In the jsp page, i can not control the html:submit button size and it is determined by the character number showing on the button. How to control the button size? Could people give me some idea? Appreciate very much! Xiaoma Wang
Joined: Oct 09, 2001
Actually it is purely a HTML issue, not struts. You can give the html:submit tag all the normal HTML attributes you wish, such as style or css-class. Try using assigning the button a style and using the width: and height: properties with px values.
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Joined: Mar 04, 2002