Web Design Forum: contact form - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

contact form contact form customized

#1 User is offline   xelism 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 159
  • Joined: 16-June 08
  • Reputation: 1
  • Experience:Beginner
  • Area of Expertise:Web Designer

Posted 28 June 2009 - 09:26 PM

Hi, I would like to change the "submit" button om my contact form to a picture insted.

www.xelism.com/contact.html

can someone tell me how to do that?

Reg X!
0

#2 User is offline   Faevilangel 

  • Wordpress Ninja.....
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,166
  • Joined: 11-May 09
  • Reputation: 57
  • Gender:Male
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 28 June 2009 - 09:30 PM

http://www.webdevelopersnotes.com/tips/htm...mit_button.php3
0

#3 User is offline   snowyswebsolutions 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 529
  • Joined: 20-October 08
  • Reputation: 4
  • Gender:Male
  • Location:Mansfield, Notts
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 28 June 2009 - 09:40 PM

View PostFaevilangel, on Jun 28 2009, 22:30, said:



From memory, (as i dont change the way the submit button is displayed) you dont need javascript just a dable in CSS.
0

#4 User is offline   Faevilangel 

  • Wordpress Ninja.....
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,166
  • Joined: 11-May 09
  • Reputation: 57
  • Gender:Male
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 28 June 2009 - 09:58 PM

View Postsnowyswebsolutions, on Jun 28 2009, 22:40, said:

From memory, (as i dont change the way the submit button is displayed) you dont need javascript just a dable in CSS.


i just posted the first link on google B)
0

#5 User is offline   bocaj 

  • The First Messiah of Javology
  • PipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 3,383
  • Joined: 11-January 09
  • Reputation: 99
  • Gender:Male
  • Location:The West Country.
  • Experience:Web Guru
  • Area of Expertise:Entrepreneur

Posted 28 June 2009 - 10:10 PM

I think you just remove the default styling, and use the background image property.

Then use the :hover psuedo class too.
0

#6 User is offline   lloydsolutions 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 164
  • Joined: 18-June 09
  • Reputation: 0
  • Gender:Male
  • Location:Ashford, Kent
  • Experience:Nothing
  • Area of Expertise:Designer

Posted 29 June 2009 - 08:29 AM

<input type="image" value="Submit" name="submit" src="imagehere.jpg"> cant you just do that??
0

#7 User is offline   traxor 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,978
  • Joined: 04-September 08
  • Reputation: 106
  • Gender:Male
  • Location:United Kingdom
  • Experience:Web Guru
  • Area of Expertise:Web Designer

Posted 29 June 2009 - 08:52 AM

View Postlloydsolutions, on Jun 29 2009, 09:29, said:

<input type="image" value="Submit" name="submit" src="imagehere.jpg"> cant you just do that??

No.

Here's an example of what I do:
.beeSubmit {
	width:218px;
	height:53px;
	border:none;
	background:url(../images/bee-send.png) top left no-repeat transparent;
	cursor:pointer;
}

<input type="submit" name="submit" value="" class="beeSubmit" />


The reason I'm using cursor:pointer; is because it allows the otherwise static image to be like a link, therefore allowing it to be cross-browser compatible... The :hover pseudo class does not work in some older browsers ;).
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users