Thread: Kobo Bug thread
View Single Post
Old 02-27-2017, 04:11 AM   #834
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by sherman View Post
I encountered a book which used !important in its CSS today, and I was (figuratively) tearing my hair out trying to figure out why the CSS wasn't displaying. Finally narrowed the issue down to the !important.
I regard !important in CSS as akin to GOTO statements in structured programming languages - technically permissible, but chances are excellent that if you're using them, you've gone very far astray and it's time to rethink your approach.

I may have encountered a couple of situations where !important truly was necessary, but none come to mind. The cases I think may have used that hack were large websites where pages used multiple layers of stylesheets - which makes sense in that context, but no ebook should be doing that.
Rev. Bob is offline   Reply With Quote