Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

making buttons of same size

 
Dattatray Sutar
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can control the size of a button with CSS.

<html:button style="width:75" />
 
Dattatray Sutar
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic