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   1973 Views

Avatar
LesC

27 November 2008 at 2:22am Community Member, 70 Posts

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

27 November 2008 at 2:23am Community Member, 70 Posts

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

29 November 2008 at 9:55pm Forum Moderator, 801 Posts

Try ImageFormAction.

Avatar
Willr

30 November 2008 at 6:33pm Forum Moderator, 5511 Posts

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.