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!
Page 1 of 1
contact form contact form customized
#3
Posted 28 June 2009 - 09:40 PM
#5
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.
Then use the :hover psuedo class too.
#6
Posted 29 June 2009 - 08:29 AM
<input type="image" value="Submit" name="submit" src="imagehere.jpg"> cant you just do that??
#7
Posted 29 June 2009 - 08:52 AM
lloydsolutions, 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
Share this topic:
Page 1 of 1
Help



















