aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes aesthetics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "aesthetics" Watch "aesthetics" New topic
Author

aesthetics

Chris Pat
Ranch Hand

Joined: Aug 27, 2005
Posts: 156
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

Joined: Jan 10, 2002
Posts: 60071
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Chris Pat
Ranch Hand

Joined: Aug 27, 2005
Posts: 156
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
add css to the button as mentioned.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60071
    
  65

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: aesthetics
 
Similar Threads
When is an anonymous inner class NOT an inner class? Always?
Problem with JSTL
How to change the font of JOptionPane?
Setting custom font JOptionPane
giving textfield input in marathi font