Below is some CSS code.
.form-field {min-height: 20px; margin-bottom: 10px; padding-top: 4px; width: 80px;}
.form-field TEXTAREA, INPUT[type='text'] {position: absolute; left: 100px; top: 0px; height: 15px;}
.form-field TEXTAREA {height: 80px;}
So every time there is a input or textarea in the div.form-field that css should be applied.
Although anywhere just a INPUT[type='text'] (even outside the .form-field) the css gets applied. How do I stop it from doing that?
1 Answer