> 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.
>
> 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

The problem is the input style doesn't work in all browsers. In
particular Opera and some of the Mac browsers will ignore them, if I
remember correctly.
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to