PDA

View Full Version : CSS Isolation



jeanlucbouchet
15 Mar 2011, 1:32 PM
What is the best way to isolate the css declaration to prevent a component has an impact on another?

jeanlucbouchet
17 Mar 2011, 5:01 AM
We think do like this :
- definine into css stylesheet like this :


.moduleName .toto
{
background: white none repeat scroll 0% 0%;
border: 0px none black;
...
}

- and put to my Ext Component


cls : moduleName toto


What do you think about this solution ?