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


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 56150
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 15357
    
    6
add css to the button as mentioned.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56150
    
  13

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
Problem with JSTL
When is an anonymous inner class NOT an inner class? Always?
Setting custom font JOptionPane
How to change the font of JOptionPane?
giving textfield input in marathi font