2

A height of an element is overriden in the html 'style' attribute by ext framework:

    <div class="class1" style="height: 900px;">

How do I set the height to 100% from css file? The following won't work since this rule is overriden by the html style attribute.

    .class1 {
        height: 100%;
    }

Is it possible to disable override for this rule?

1 Answer 1

8

yes it is possible

use

.class1 {
        height: 100% !important;
    }
Sign up to request clarification or add additional context in comments.

1 Comment

@Oleg: you can do the thing by shankhan way, but it's not recommended practice, and should be used with caution. There shouldn't be lots of place that defines the same rule.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.