A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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
resultset is not working properly
Aligning text vertically within a JButton
Problem with alignment of outputLabel
Fusion Charts: How to put data into xml file ?
setting the selected option in a select element
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014