A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
text and img inside button
Joined: Oct 31, 2011
Nov 19, 2011 01:06:02
I have the following code:
<button><img src="files/img/save.gif"> Save</button>
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
Aligning text vertically within a JButton
Problem with alignment of outputLabel
setting the selected option in a select element
Fusion Charts: How to put data into xml file ?
resultset is not working properly
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015