supporter-form & support-form-submit: class,not id

These should be classes, not ids, and the ids should identify whether
it's the monthly or the annual form.
This commit is contained in:
Bradley M. Kuhn 2014-12-03 20:43:28 -05:00
parent 8c3ecd347a
commit 9c40bf2e60
2 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
#supporter-form label { .supporter-form label {
display: inline-block; display: inline-block;
width: 200px; width: 200px;
text-align: right; text-align: right;
@ -6,13 +6,13 @@
#supporter-form-inputs { #supporter-form-inputs {
float: left; float: left;
} }
#supporter-form-submit { .supporter-form-submit {
padding-left: 20em; padding-left: 20em;
padding-top: 40px; padding-top: 40px;
float: center; float: center;
} }
#supporter-form div { .supporter-form div {
margin-top: 1em; margin-top: 1em;
} }

View file

@ -133,7 +133,7 @@ internal policies</a> are published and available for scrutiny.</p>
<div id="annual" class="supporter-type-selection"> <div id="annual" class="supporter-type-selection">
<h3>Join as an Annual Supporter</h3> <h3>Join as an Annual Supporter</h3>
<a id="annual"></a> <a id="annual"></a>
<form id="supporter-form" action="https://www.paypal.com/cgi-bin/webscr" method="post" name="supporter"> <form id="annual" class="supporter-form" action="https://www.paypal.com/cgi-bin/webscr" method="post" name="supporter">
<div id="supporter-form-inputs"> <div id="supporter-form-inputs">
<input type="hidden" name="return" value="https://sfconservancy.org/supporter/thank-you.html" /> <input type="hidden" name="return" value="https://sfconservancy.org/supporter/thank-you.html" />
<input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="cmd" value="_xclick" />
@ -176,7 +176,7 @@ internal policies</a> are published and available for scrutiny.</p>
<input type="radio" checked="checked" name="os4" value="Yes" />Yes <input type="radio" checked="checked" name="os4" value="Yes" />Yes
<input type="radio" name="os4" value="No" />No<br> <input type="radio" name="os4" value="No" />No<br>
<br /></div> <br /></div>
<div id="supporter-form-submit"> <div id="annual" class="supporter-form-submit">
<input type="image" <input type="image"
src="/img/supporter-payment-button-annual.png" src="/img/supporter-payment-button-annual.png"
height="81" width="188" height="81" width="188"
@ -193,7 +193,7 @@ internal policies</a> are published and available for scrutiny.</p>
<a id="monthly"></a> <a id="monthly"></a>
<p>Monthly supporters will not receive any supporter benefits (including the t-shirt) until they've been <p>Monthly supporters will not receive any supporter benefits (including the t-shirt) until they've been
monthly supporters for 12 months.</p> monthly supporters for 12 months.</p>
<form id="supporter-form" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <form id="monthly" class="supporter-form" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<div id="supporter-form-inputs"> <div id="supporter-form-inputs">
<input type="hidden" name="business" value="supporter@sfconservancy.org" /> <input type="hidden" name="business" value="supporter@sfconservancy.org" />
<input type="hidden" name="item_name" value="Conservancy Supporter, Monthly" /> <input type="hidden" name="item_name" value="Conservancy Supporter, Monthly" />
@ -241,7 +241,7 @@ internal policies</a> are published and available for scrutiny.</p>
<input type="radio" checked="checked" name="os4" value="Yes" />Yes <input type="radio" checked="checked" name="os4" value="Yes" />Yes
<input type="radio" name="os4" value="No" />No<br> <input type="radio" name="os4" value="No" />No<br>
<br /></div> <br /></div>
<div id="supporter-form-submit"> <div id="monthly" class="supporter-form-submit">
<input type="image" <input type="image"
src="/img/supporter-payment-button-monthly.png" src="/img/supporter-payment-button-monthly.png"
height="81" width="188" height="81" width="188"