View Single Post
Old 06-04-2025, 07:03 PM   #61
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,830
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DNSB View Post
The !important tag allows you to override other settings even if they have higher specificity. OTOH, only use !important when it is absolutely needed since overuse can make debugging a PITA. At one time, I was editing a stylesheet where virtually every line ended in !important; and it made figuring out what was going on no fun. I finally ended up removing the !importants and then adding 1 set back which kept a button from changing background colour.
Very right! In the case mentioned above I employed the !important tag, it was only for the following properties (because PocketBook has issues to handle them):

Code:
-webkit-column-break-inside: avoid !important; 
break-inside: avoid !important; 
page-break-inside: avoid !important;
Your answer make me see that my answer was ambiguous; I didn't employ the !important tag in all the properties.
RbnJrg is offline   Reply With Quote