Andreas Boehmer wrote:
What would you recommend is the best way to create a form with a submit
button made up of text+image? So what I have planned is the word
"Search" followed by a little icon. The user can click either of them
and the form will submit.
I am playing with multiple solutions, but have not found anything yet
that I like:
How about using a normal submit button, styled with some simple CSS?
#submit {
background: transparent url(search.png) no-repeat center right;
border: none;
padding: 0 15px 0 0; // the image above is 15px wide
}
<input type="submit" value="search" id="submit" />
--
Patrick H. Lauke
_____________________________________________________
re�dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************