How do i solve inline !important ;?
i tired !important !important but its not work .
!important !important property is right kind property or not ?
plz clear this issue n help me.
Why are you using `!important`?
You can’t double up on it and make it “stronger”.
Inline CSS will, as a general rule, override any CSS in your stylesheet assuming the same level of specificity.
declaration space !important single one;
having important both inline and in css file the inline declaration applies
The only way to override inline styles is using `!important` in your stylesheet, unless… the inline style already has `!important`.
Short answer: impossible.
Not impossible: you can override it by adding another inline style after that:
But that’s definitely the only way, I think.
Oh yeah, when I said impossible I meant from within a stylesheet of course :)
a solution is to remove the style attribute all together and then set the width manually if thats the only style you want to apply or add a class with all the styles you want
im using jquery in the example
you no need to use !important in your inline style. you just add float:left;
You must be logged in to reply to this topic.