PDA

View Full Version : Using custiomized buttons instead of default submit n reset buttons


windchimes
09-16-2007, 03:48 AM
Hi,

I need to use my own designed buttons instead of the usual form buttons in dreamweaver like submit and reset. How can I do this..help me.

regards
Windchimes

Ricky55
09-17-2007, 10:04 AM
You can style the usual submit button by creating a CSS rule. Click create new rule from within the CSS panel then choose class as your selector then give the rule a class name of .formButton

Change in this rule the colours etc and even the background image, then click OK, now select your submit button and from the class drop down menu select the class you have just created.

Hope this helps.

Ricky55

Ricky55
09-17-2007, 10:20 AM
PS mate

If you want to replace the button image completely insert a normal submit button and then replace the code it creates with this:-

<input type="image" name="Submit" src="images/submit_up.gif" value="Submit">

where the src is pointing to your image button.