You were close: input[type="text"]
I have been trying to use something like: input[type=text] into my css but it isn't working [closed]
Question
I have included a jfiddle below. I tried setting my css code to input[type=text] so that the styling wouln't affect the submit and reset button, but something is wrong and I'm not sure what.
<link css="" href="common/css/complianceCSS.css" media="screen" rel="stylesheet" type="text/css" />
<link css="" href="../privacy/internal/css/turquoise.css" media="screen" rel="stylesheet" type="text/css" />
<h1 class="allpages">Questions or Concerns about Compliance Issues?</h1>
<h3>We welcome all compliments and constructive criticism!</h3>
<form class="webform" action="http://hsc.unm.edu/scripts/cfmailform/cfmailer.cfm" method="post">
<!--Required hidden operators-->
<input name="recipient" type="hidden" value="bfloran@salud.unm.edu" />
<input name="subject" type="hidden" value="HSC Compliance Office Email Form" />
<input type="hidden" name="cc" value="mgwilson@salud.unm.edu" />
<input name="redirect" type="hidden" value="http://hsc.unm.edu/admin/compliance/ThankYOU.html" /> <!-- Field validation for the user -->
<label for "name">Your Name (optional):</label>
<input name="name" type="text" id="name" value="" /><br />
<label for "name">Your E-mail (Optional):</label>
<input name="mail" type="text" value="" /><br>
<label for "name">Comment:</label>
<textarea name="comment" value="" ></textarea>
<p>
<input type="submit" value="Submit" />
<input type="reset" value="Reset" />
</form>
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow