Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Image based submit button


Reply


4 Posts   2009 Views

Avatar
LesC

Community Member, 70 Posts

27 November 2008 at 2:22am

Hi,

I'm having great fun putting a site together at high speed with SS, and have found my first little problem that I can't work out...

How do you use a input type=image on a form?

I've got a search form, and can't see anywhere in the docs or on the forum how to use an image in the FormAction.

Any help would be much appreciated.

L

Avatar
LesC

Community Member, 70 Posts

27 November 2008 at 2:23am

Oh and does anyone know why the SS search form code spit out so much random HTML such as a div element and span elements?

Where does this get written?

Avatar
Ingo

Forum Moderator, 801 Posts

29 November 2008 at 9:55pm

Try ImageFormAction.

Avatar
Willr

Forum Moderator, 5513 Posts

30 November 2008 at 6:33pm

Or you just want to style the normal form action button with CSS. All forms outputed from SS should have custom ID's attached so you just need to find that out then in your CSS file just style the action button with the image as a background and a set width / height.