Results 1 to 2 of 2

Thread: get the inline style to take over class important css rule

  1. #1

    Default get the inline style to take over class important css rule

    Hello, guys, I'm facing a problem and I hope you guys can help me. The thing is I overridden a panel class CSS and changed the height to 100 !important because I needed it everywhere. Now I know I used a bad approach since using important is not a good way to override a CSS.

    Now at one place, I need to use the inline height style rule that the panel adds it's self but the problem is that important is taking over. and I cannot remove the important now because it will affect a lot of places. So I was hoping is there any way to get the inline CSS to take the priority rather than class css height rule

    I would be grateful if anybody can help me. Thanks

  2. #2
    Sencha User
    Join Date
    Feb 2013


    I can't think of anything in the Ext JS panel affect the CSS this way.

Similar Threads

  1. Replies: 3
    Last Post: 1 Apr 2014, 3:36 AM
  2. Use of !important to override inline style
    By mbudm in forum Ext: Q&A
    Replies: 4
    Last Post: 16 Jan 2013, 7:55 PM
  3. How to an important style?
    By ttbgwt in forum Ext: Q&A
    Replies: 2
    Last Post: 8 May 2012, 9:46 AM
  4. Replies: 3
    Last Post: 16 Sep 2010, 3:40 AM
  5. Replies: 3
    Last Post: 5 Apr 2009, 10:00 PM

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