Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Submit button on form change IE bug
Old 08-03-2006, 10:54 PM Submit button on form change IE bug
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
Hi, I'm changing the submit button on my contact form, and it still says "submit" in IE. On all other browser's I've checked its gone, but not IE. If anyone knows what's up, that'd be awesome.

carter
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
 
Register now for full access!
Old 08-03-2006, 10:58 PM Re: Submit button on form change IE bug
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
Code:
<input type="submit" id="submit" name="submit" value="Submit" tabindex="5"/>
The value of the button is "Submit" so it's going to show "Submit"... It says "Submit" in Safari and Firefox. You need to change the value to make it say something else.
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 08-03-2006, 11:00 PM Re: Submit button on form change IE bug
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
yes but those submits are from the image that I used to replace it. If you look at IE there's an extra one on top of mine.
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
Old 08-03-2006, 11:36 PM Re: Submit button on form change IE bug
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
OK, I see... you used a stylesheet to define a abckground image for the submit button. Another way is to use the "image" input type to define a submit button.
Code:
<input type="image" src="submit_button.gif" alt="Submit">
Also, why not remove the "Submit" from the background image, and just use the iamge for the background, keeping the "Submit" text from the HTML?

Last edited by funkdaddu; 08-03-2006 at 11:38 PM..
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 08-04-2006, 02:35 AM Re: Submit button on form change IE bug
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
Quote:
Originally Posted by funkdaddu View Post
OK, I see... you used a stylesheet to define a abckground image for the submit button. Another way is to use the "image" input type to define a submit button.
Code:
<input type="image" src="submit_button.gif" alt="Submit">
Also, why not remove the "Submit" from the background image, and just use the iamge for the background, keeping the "Submit" text from the HTML?
I will try the img thing, but the reason that I didn't do that is because I didn't like the font that IE uses. But I'll take a look. But are you sure that input works? Is there a little bit more that you need? like the submit button part?
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
Old 08-04-2006, 09:47 AM Re: Submit button on form change IE bug
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
The image input submits the form, it just appends x + y coordinate data. Another way is to use a generic BUTTON object. I don't have IE, but see how something like this works:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

	<head>
		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
		<title>Untitled Page</title>
		<style type="text/css" media="screen"><!--
#mySubmit  {
	font-size: 1px;
	background-color: transparent;
	background-image: url("http://homepage.mac.com/tilly6/images/button.gif");
	background-repeat: no-repeat;
	text-indent: -150px;
	margin: 0;
	padding: 0;
	width: 80px;
	height: 30px;
	overflow: hidden;
	border-style: none;
	cursor: pointer
	}


--></style>
	</head>

	<body bgcolor="#ffffff">
		<form id="FormName" action="http://www.google.com" method="get" name="FormName">
			<button name="mySubmit" id="mySubmit" type="submit">Submit</button>
		</form>
		<p></p>
	</body>

</html>
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Reply     « Reply to Submit button on form change IE bug
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17443 seconds with 12 queries