Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CSS for application fields
Message
 
 
À
28/06/2013 10:14:05
Information générale
Forum:
CSS
Catégorie:
Autre
Divers
Thread ID:
01577353
Message ID:
01577393
Vues:
35
>>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.
>
>if you add
form *[name="customer_id"] {width:200px; }
to your site/application *.css, all elements such as
<form>... <input name="customer_id" ... /> ... </form>
will have a width of 200px.

I get it now. Thank you!
"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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform