Is there a best practice to apply styles in css file?
I have tried to customize a button in css, but the code is really arbitrary, the style is always not the way I want to, so I have to size the button in js code.
Also some layout control, e.g. width, height properties. It just doesn't work what I want.
Some thing happens at 'layout' process, that the extjs framework calculate absolute size for me at runtime, and at most time it overrides my css style.
I want to write a component in js, and styles it in css, don't u think it is a very common idea?