I just did this yesterday. I wanted an up arrow in a submit button, so I add the
following class in my stylesheet.
INPUT.up {
background-image :url(../images/up.gif);
}
Here is my input tag:
<input type="submit" name="up_#i#" value=" " style="width: 20px; height:20px;"
title="Move Up" class="up">
Be sure you don't use any text in for the value attribute in your input tag, otherwise
it will be on top of your graphic. I also set the button height and width using the
style attribute in the input tag.
Stan Winchester
AfterShock Web Design, LLC
http://www.aftershockweb.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4