Difference between Class vs CSSClass in ASP.Net CSS + CSS syntax question

后端 未结 6 1509
挽巷
挽巷 2020-12-29 23:21

What is the difference between:

and

6条回答
  •  爱一瞬间的悲伤
    2020-12-30 00:24

    so, are the above syntaxes both correct when using class or cssclass, because they don't seem to be.

    I am not sure what you mean when you say they do not "seem" to be correct? Do they render differently, even when you are using

in both cases?

IMHO, as far as the 'class' attribute is concerned, they are both correct. Did you try .someClass > th instead of .someClass th in the second case? That might solve the problem.

提交回复
热议问题