File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes text and img inside button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "text and img inside button" Watch "text and img inside button" New topic

text and img inside button

Hengki Widjaja
Ranch Hand

Joined: Oct 31, 2011
Posts: 44
I have the following code:

1. How can I make the save.gif auto-size based on button's size ?
2. How to make the img vertically center?
3. how to make the "Save" caption vertically center? text-align, line-height, vertical-align didn't work

I agree. Here's the link:
subject: text and img inside button
It's not a secret anymore!