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
  • 8,693
  • 8
  • 27
  • 56

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,339
  • 1
  • 33
  • 52