aspose file tools*
The moose likes Struts and the fly likes making buttons of same size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "making buttons of same size " Watch "making buttons of same size " New topic
Author

making buttons of same size

Dattatray Sutar
Ranch Hand

Joined: Jul 12, 2006
Posts: 46
Hi ranchers!.

I m using LookUpDispathAction and using Applicationresources.prop key-value for the Button names by <bean:message..../> but the buttin size is depending on the text value.. e.g. ok buttn has smaller size then Cancel. I want 2 make both of same size. i tried like html giving space adjustment for the ok button..its ok in html but not working for Struts lookUpDispathAction...any solutions plz....

Thanks in advance.


with regards<br />Datta.<br /> <br />To the world you might be one person, but to one person you just might be the world !
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You can control the size of a button with CSS.

<html:button style="width:75" />


Merrill
Consultant, Sima Solutions
Dattatray Sutar
Ranch Hand

Joined: Jul 12, 2006
Posts: 46
Thanks a lot..it worked ..bye
Originally posted by Merrill Higginson:
You can control the size of a button with CSS.

<html:button style="width:75" />
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: making buttons of same size