View Single Post
  #3 (permalink)  
Old Apr 21st, 2005, 13:11
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,953
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
I would definitly NOT do what mark has suggested.
NEVER use javascript unless it's absolutly nessesary.

Give your submit button an ID like this:-
Code: Select all
 <input type="submit" name="mySubmit" value="Submit" id="MySubmit" />
You can then alter the properties via CSS:-
Code: Select all
#mySubmit{
background-color:red; color:red; border:1px black dashed
}
You can even use CSS to set a background picture should you wish to use an image.

If you do in fact want just text (as Mark suggested), a far better way would be to make it 'appear' like a link and still keep the 'submit' function within the boundarys of normality:-
Code: Select all
#mySubmit {
background-color:transparent;
color:blue;
text-decoration:underline;
cursor:hand;
border:0 transparent none;
}
Hope this helps.

Changing the appearance of your submit button with CSS will ensure that the submit button functions normally when javascript or CSS support is not present.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work