Skip to content Skip to sidebar Skip to footer

Override Property In "style=" Attribute?

I am trying to adjust the position of the background image of a button in CKEditor. CKEditor hard-codes button images with background-position: 0px 0pt. I don't want to change this

Solution 1:

The only way to override the properties specified in a style attribute is to use !important.

Solution 2:

You can set the style with some Javascript, or (even better yet) use some JQuery to do it for you.

Post a Comment for "Override Property In "style=" Attribute?"