Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 02-07-2012, 11:14 AM   #1
cocoonfx's Avatar
Join Date: Nov 2006
Location: Tamworth,UK
Posts: 576
Default Submit Button - Issue with CSS

Hi Guys

I am struggling with my CSS skills this week )

In chrome I have the word "submit query" and in IE I have a small image square.

I can not workout how to remove both of these.


HTML Code:
form action="<?php echo get_template_directory_uri();?>/mailer.php?subscribe=go" name="phpformmailer" method="post"  enctype="multipart/form-data">
			<label for="Full_name">Your name</label><br />
			<input id="Full_name" name="Full_name" required="" type="text" /><br />
			<label for="Email_address">Your email</label><br />
			<input id="Email_address" name="Email_address" required="" type="text" /><br />
			<label for="_subject">Subject</label><br />
			<select id="_subject" name="_subject"><option value="Availability/prices">Availability/prices</option><option value="General">General</option></select><br />
			<label for="Message">Message</label><br />
			<textarea id="Message" name="Message" required=""></textarea><br />
			<input name="_redirect" type="hidden" value="index.php" />  <input type="image" class="save_button" value=""/></p>

	background-image: url(images/submit-button-100px-X-45px.png);
	background-repeat: no-repeat;
	height: 45px;
	width: 100px;
	float: right;
	margin-right: 15px;	
cocoonfx is offline   Reply With Quote
Old 02-07-2012, 12:43 PM   #2
domedia's Avatar
Join Date: Dec 2003
Posts: 9,730

'Submit Query' is the default text on submit buttons in IE. Use the VALUE attribute to change it. You're seeing the image square because you've set the INPUT time to IMAGE, but fail to define the SRC attribute.
domedia is offline   Reply With Quote
Old 02-07-2012, 01:14 PM   #3
cocoonfx's Avatar
Join Date: Nov 2006
Location: Tamworth,UK
Posts: 576
Thumbs up

Thanks DM

Thats so obvious! darn.. need to get my head into gear..
cocoonfx is offline   Reply With Quote

Thread Tools
Display Modes

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

Forum Jump

All times are GMT. The time now is 08:36 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com