>
>FWIW,
>
form *[name="customer_id"]
> form<space> means an element within <form> ... </form>
>* means any element of any tag
>[name="customer_id"] means an element that has the attribute 'name' with the value "customer_id"
>
>
>an easy way to learn is by opening a given site and examine elements with firebug.
Thank you for the explanation. I will try to find a site where this type of declaration is used and examine it.
I still, however, don't understand how the above code/example will save me from having each application field styled in a CSS file. For example, say I want the field "customer_id" always (on all application pages) to be of 200px width. So thought I would set this width for the class "customer_id" in the CSS file. Since CSS file will be used in all pages, the set width will be applied to any Input that has class "customer_id".
What I don't understand is how the example above will eliminate the need for this class in CSS file.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham