Connexion | Inscription | FAQ
Anonymous

How do i know wich selectors supports wich properties.

+ Publier une réponse

3 messages Page 1 sur 1


How do i know wich selectors supports wich properties.

par atallpa » Mer Jan 31, 2018 11:08 pm

Hello, its about css.

I dont know if im clear.
I need to know when an html tag supports a property.
For example if i have a ul>li>a> how do i know wich one is the one that will remove the dots?.(style="list-style-type:none") the Ul> The Li? or the a?.
This kind of issue happens to me with all others selectors attributes and or properties.
There's any sheet? or some keywords to use for a search in order to find the tips or wether the instructions.
Please help me and thank you a lot in advance.
Avatar de l’utilisateur

atallpa

  • Messages: 1
  • Inscrit le: Mer Jan 31, 2018 10:54 pm

Re: How do i know wich selectors supports wich properties.

par pavithra.ramesh » Mar Fév 06, 2018 11:12 am

Avatar de l’utilisateur

pavithra.ramesh

  • Messages: 11
  • Inscrit le: Mar Fév 06, 2018 10:50 am

Re: How do i know wich selectors supports wich properties.

par meow » Sam Mai 05, 2018 7:19 pm

It's right there in the spec. For most things it's easier to look in the CSS2 spec.
Look the property up here.
https://www.w3.org/TR/CSS2/propidx.html
Click the property you are interested in and at the top of the description you find some general information. For example for 'margin' you can read this.

--------
'margin'
Value: <margin-width>{1,4} | inherit
Initial: see individual properties
Applies to: all elements except elements with table display types other than table-caption, table and inline-table
Inherited: no
Percentages: refer to width of containing block
Media: visual
Computed value: see individual properties
---------

https://www.w3.org/TR/CSS2/box.html#propdef-margin
Avatar de l’utilisateur

meow

  • Messages: 5
  • Inscrit le: Jeu Mai 03, 2018 4:53 pm


+ Publier une réponse

Page 1 sur 1