Results 1 to 2 of 2

Thread: CSS Isolation

  1. #1
    Ext JS Premium Member
    Join Date
    May 2010
    Posts
    12
    Vote Rating
    0
      0  

    Default CSS Isolation

    What is the best way to isolate the css declaration to prevent a component has an impact on another?

  2. #2
    Ext JS Premium Member
    Join Date
    May 2010
    Posts
    12
    Vote Rating
    0
      0  

    Default

    We think do like this :
    - definine into css stylesheet like this :
    Code:
    .moduleName .toto 
    {
        background: white none repeat scroll 0% 0%;
        border: 0px none black;
        ...
    }
    - and put to my Ext Component
    Code:
    cls : moduleName toto
    What do you think about this solution ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •