Home › Forums › CSS › Text Input fields of varying length w/in same form? › Reply To: Text Input fields of varying length w/in same form?
Thanks Mottie. I’ll have to play around with that.
In the meantime, I found some info on the Contact Form 7 plugin for WordPress site about manipulating their form. The site, specifically the bit about “Style Specific Fields”.
Based on their info and some guesswork, I discovered something by accident. I don’t think this is going to be my solution, but I thought I’d share in case anyone was familiar with why it works.
I created a .special class in the CSS, and added the Class and Type to the Input markup like so:
<input class="special" type="text class:special" name="prefPharm" value="<%=PHARMACY2%>" id="prefPharm" />
If I take out just the class=”special” tag, it doesn’t work. If I take out just the type=”text class:special” it doesn’t work.
You can see what I mean here: New Codepen