• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

aesthetics

 
Chris Pat
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am nicely producing buttons with struts tags in jstl tags in a table. However they look ugly both in font and default. They are submit buttons. How can I substitute my own buttons with a different font and/or graphic? tia
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65342
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to check out the <button> tag (be sure to give it type="submit" if you want it to act like a submit button) and some CSS to style it.
 
Chris Pat
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
You might want to check out the <button> tag (be sure to give it type="submit" if you want it to act like a submit button) and some CSS to style it.


Hi Bear
Thanks, however can I use a button tag within the struts
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add css to the button as mentioned.

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65342
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not a fan of Struts so I don't know if it has tags that let you create button tags or not. If Struts doesn't let you create button tags, do it yourself.

Or, you could do a View Source on the HTMl code that the Struts tags generate and try to retro-fit your CSS to its output.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic