0

I have a component in html page as below

 <div style='right:2px;'>
 </div>

Is it possible to override the right property in internal css and make it not to do work.I mean the right property should not work.Can anyone help?

kyun
  • 9,710
  • 9
  • 31
  • 66
Nawaz Ahmed
  • 37
  • 10

1 Answers1

1

Use !important to override it. For more details check these usages

div {
  right: 100px !important;
}
<div style='right:2px; position:absolute;'>
  hai
</div>
jafarbtech
  • 6,842
  • 1
  • 36
  • 55