Roberto Nicchi Posted October 7, 2022 Share Posted October 7, 2022 The button is connected to a TuniNativeImageList (svg image) If i use the following CSS the icon is not centered horizzontally. It's aligned to the left. .okIcon24 { height: 24px !important; width: 24px !important; background-size: 24px auto; background-image: url("files/icone/okIcon.svg"); } If the line width: 24px !important; is changed to width: 24px; the icon is centered (correctly) horizzontally. I'm wondering why the "!important" option in CSS is causing the icon not to be centered horizzontally. thanks Roberto Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.