Not sure how to enter in CSS
I have a form on my website that I need to remove the width and height of image that is used as the button to validate the page. Here is the code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal">
<p><input name="submit" type="image" class="packageformimg" src="http://www.renegadescookingteam.com/images/To Donate.jpg" width="40%" height="40%" alt="Make payments with PayPal - it's fast, free and secure!" /><img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
The input name is the same as another input on the same page.
To specify just this image in the CSS, would I enter it as:
input[name=submit], input[type=image], input[src*="To Donate.jpg"] {
width: 40%;
height: 40%;
}
or
input[name=submit], input[type=image], input[href*="To Donate.jpg"] {
width: 40%;
height: 40%;
}
I tried looking this up on http://www.w3schools.com, but wasn't sure if either entry would be correct. Also noticed that I probably need to put an underscore between "To" and "Donate" so there aren't any spaces in name of file.
Thanks,
John
