Results 1 to 2 of 2

Thread: How to remove/avoid x-body classes in the <body> tag of the page?

  1. #1

    Join Date
    Sep 2008
    Posts
    145
    Answers
    4

    Default How to remove/avoid x-body classes in the <body> tag of the page?

    I have multiple CSS classes in my application and I want to apply EXJTS css just to a part of the page.

    How can I avoid extjs adding x-body classes in the <body> part of the page?

    Code:
    <body id="ext-element-1" class="x-webkit x-chrome x-windows x-desktop x-body x-scroller" data-feedly-mini="yes" style="overflow: auto;">
    Screenshot_2.jpg
    Management means doing the things right,
    Leadership means doing the right things.
    www.interpid.eu

  2. #2

    Join Date
    Sep 2008
    Posts
    145
    Answers
    4

    Default

    I think I found it. Add this before including extjs.

    Code:
    <script>
    Ext = {
            scopeCss: true
    };
    </script>
    
    Management means doing the things right,
    Leadership means doing the right things.
    www.interpid.eu

Similar Threads

  1. Body CSS classes
    By janhar in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 14 Jan 2014, 5:49 PM
  2. Replies: 0
    Last Post: 28 Jul 2011, 7:43 AM
  3. Gxt and extjs on the same page (body classes get overwritten)
    By korebantic in forum Ext GWT: Help & Discussion (1.x)
    Replies: 7
    Last Post: 12 Feb 2009, 3:55 PM
  4. Replies: 1
    Last Post: 20 Aug 2008, 3:38 AM

Tags for this Thread

Posting Permissions

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