insert_car
11-05-2011, 09:36 PM
Hey guys, I'm pulling my hair out over here. I hope you can help. It would be much appreciated.
I'm customizing a wordpress theme and have an email capture form plugin (WP Email Capture) with name-email-submit button. The form is very basic and I am changing the submit button to an image rollover button. I am working with MAMP on a local host to view instead of being live.
I could be going about this all wrong because I'm a bit of a newb.
My problem:
The rollover and the button works but I have this damn border around the button an it is driving me crazy! I can't get rid of the border. Also, The button shows up like it can't find the image. Why is this happening? When I remover the src="my image" it show the text "submit" and the border. What do I need to do here? lol
<label class="wp-email-capture-name">Name:</label> <input name="wp-email-capture-name" size="42" type="text" class="wp-email-capture-name"><br/>
<label class="wp-email-capture-email">Email:</label> <input name="wp-email-capture-email" size="42" type="text" class="wp-email-capture-email"><br/>
<input type="hidden" name="wp_capture_action" value="1">
<input name="input" type="image" height="37" width="115" src="subscribebtn.jpg" class="wp-email-capture-submit" font-size="0" line-height="0" border="0" value="" >
</form>
#wp_email_capture {
}
#wp_email_capture label {
text-decoration: none;
border:none;
}
#wp_email_capture input {
margin: 15px 0 0 0;
line-height: 15px;
text-decoration: none;
border:none;
}
#wp_email_capture_2 {
}
#wp_email_capture_2 label {
}
#wp_email_capture_2 input {
}
input[type=image] {
height: 37px;
width: 115px;
background-image:url(../../plugins/wp-email-capture/inc/subscribebtn.jpg);
text-decoration: none;
border:0;
display: block;
text-indent: -999em;
}
input:hover[type=image] {
height: 37px;
width: 115px;
background-image:url(../../plugins/wp-email-capture/inc/subscribebtnon.jpg);
text-decoration: none;
border:0;
display: block;
text-indent: -999em;
}
http://img7.imageshack.us/img7/5703/screenshot20111105at416.png
This is what is looks like when I remover the src="myimage" from the html
http://img41.imageshack.us/img41/1565/screenshot20111105at417.png
Any help would be amazing. Thanks in advance!
I'm customizing a wordpress theme and have an email capture form plugin (WP Email Capture) with name-email-submit button. The form is very basic and I am changing the submit button to an image rollover button. I am working with MAMP on a local host to view instead of being live.
I could be going about this all wrong because I'm a bit of a newb.
My problem:
The rollover and the button works but I have this damn border around the button an it is driving me crazy! I can't get rid of the border. Also, The button shows up like it can't find the image. Why is this happening? When I remover the src="my image" it show the text "submit" and the border. What do I need to do here? lol
<label class="wp-email-capture-name">Name:</label> <input name="wp-email-capture-name" size="42" type="text" class="wp-email-capture-name"><br/>
<label class="wp-email-capture-email">Email:</label> <input name="wp-email-capture-email" size="42" type="text" class="wp-email-capture-email"><br/>
<input type="hidden" name="wp_capture_action" value="1">
<input name="input" type="image" height="37" width="115" src="subscribebtn.jpg" class="wp-email-capture-submit" font-size="0" line-height="0" border="0" value="" >
</form>
#wp_email_capture {
}
#wp_email_capture label {
text-decoration: none;
border:none;
}
#wp_email_capture input {
margin: 15px 0 0 0;
line-height: 15px;
text-decoration: none;
border:none;
}
#wp_email_capture_2 {
}
#wp_email_capture_2 label {
}
#wp_email_capture_2 input {
}
input[type=image] {
height: 37px;
width: 115px;
background-image:url(../../plugins/wp-email-capture/inc/subscribebtn.jpg);
text-decoration: none;
border:0;
display: block;
text-indent: -999em;
}
input:hover[type=image] {
height: 37px;
width: 115px;
background-image:url(../../plugins/wp-email-capture/inc/subscribebtnon.jpg);
text-decoration: none;
border:0;
display: block;
text-indent: -999em;
}
http://img7.imageshack.us/img7/5703/screenshot20111105at416.png
This is what is looks like when I remover the src="myimage" from the html
http://img41.imageshack.us/img41/1565/screenshot20111105at417.png
Any help would be amazing. Thanks in advance!