Hi everyone,
Within a form. a “text” input field, I’d like to suround the input box by a border. Apparently, the class selector is not found.
here is my html code:
You need to separate your rule selectors a little. At the moment, your rule is trying to match a form element with the id ‘searchForLabel’ and the class ‘textAssign’.
Judging by your HTML, what you really want is this:
form #searchForLabel .textAssign
{
border: 1px solid red;
}