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