Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
It is sorta covered in the
JavaRanch Style Guide
subject: text and img inside button
Aligning text vertically within a JButton
Fusion Charts: How to put data into xml file ?
Problem with alignment of outputLabel
resultset is not working properly
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-2013