You can style your forms without extra markup by applying CSS rules to the <label> element. (You can also style <input>, <fieldset>, and <legend>, though results will vary from browser to browser.)
|
|
<p<label for="send"><strong> <span style="color: #006600;"> Where to send your $1 million: </span> </strong></label></p> <p> <input type="text" id="send" size="30" /></p> <p><input type="checkbox" id="smallbills" /> <label for="smallbills"><em>Small bills only</em></label></p> <p> </p> <pstyle="align="center"><input type="button" value="Send it now!" /></p> |
|
|
<label for="send">Where to send your $1 million:</label> <input type="text" id="send" size="30" /> <input type="checkbox" id="smallbills" /><label for="smallbills">Small bills only</label> <input type="button" value="Send it now!" /> |